Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.44 KB

appv-apply-the-user-configuration-file-with-powershell.md

File metadata and controls

49 lines (35 loc) · 1.44 KB
title description author ms.pagetype ms.mktglfcycl ms.sitesec ms.prod ms.date ms.reviewer manager ms.author ms.topic
How to apply the user configuration file by using Windows PowerShell (Windows 10)
How to apply the user configuration file by using Windows PowerShell (Windows 10).
dansimp
mdop, appcompat, virtualization
deploy
library
w10
06/15/2018
dansimp
dansimp
article

How to apply the user configuration file by using Windows PowerShell

Applies to: Windows 10, version 1607

When you publish a package to a specific user, you'll also need to specify a dynamic user configuration file to tell that package how to run.

Apply a user configuration file

Here's how to specify a user-specific configuration file:

Note

The following example cmdlets use this example file path for its package:

  • C:\Packages\Contoso\MyApp.appv.

If your package file uses a different file path than the example, feel free to replace it as needed.

  1. Enter the following cmdlet in Windows PowerShell to add the package to the computer:

    Add-AppVClientPackage C:\Packages\Contoso\MyApp.appv
  2. Enter the following cmdlet to publish the package to the user and specify the updated the dynamic user configuration file:

    Publish-AppVClientPackage $pkg -DynamicUserConfigurationPath C:\Packages\Contoso\config.xml

Related topics