mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-12 21:37:22 +00:00
51 lines
1.5 KiB
Markdown
51 lines
1.5 KiB
Markdown
---
|
||
title: How to Apply the User Configuration File by Using PowerShell
|
||
description: How to Apply the User Configuration File by Using PowerShell
|
||
author: dansimp
|
||
ms.assetid: 986e638c-4a0c-4a7e-be73-f4615e8b8000
|
||
ms.reviewer:
|
||
manager: dansimp
|
||
ms.author: dansimp
|
||
ms.pagetype: mdop, appcompat, virtualization
|
||
ms.mktglfcycl: deploy
|
||
ms.sitesec: library
|
||
ms.prod: w10
|
||
ms.date: 06/16/2016
|
||
---
|
||
|
||
|
||
# How to Apply the User Configuration File by Using PowerShell
|
||
|
||
|
||
The dynamic user configuration file is applied when a package is published to a specific user and determines how the package will run.
|
||
|
||
Use the following procedure to specify a user-specific configuration file. The following procedure is based on the example:
|
||
|
||
**c:\\Packages\\Contoso\\MyApp.appv**
|
||
|
||
**To apply a user Configuration file**
|
||
|
||
1. To add the package to the computer using the PowerShell console type the following command:
|
||
|
||
**Add-AppVClientPackage c:\\Packages\\Contoso\\MyApp.appv**.
|
||
|
||
2. Use the following command 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**
|
||
|
||
**Got a suggestion for App-V**? Add or vote on suggestions [here](http://appv.uservoice.com/forums/280448-microsoft-application-virtualization). **Got an App-V issue?** Use the [App-V TechNet Forum](https://social.technet.microsoft.com/Forums/home?forum=mdopappv).
|
||
|
||
## Related topics
|
||
|
||
|
||
[Operations for App-V 5.1](operations-for-app-v-51.md)
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|