windows-itpro-docs/windows/manage/appv-apply-the-user-configuration-file-with-powershell.md

46 lines
1.4 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: How to Apply the User Configuration File by Using PowerShell (Windows 10)
description: How to Apply the User Configuration File by Using PowerShell
author: MaggiePucciEvans
ms.pagetype: mdop, appcompat, virtualization
ms.mktglfcycl: deploy
ms.sitesec: library
ms.prod: w10
---
# 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**
**Have 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/en-US/home?forum=mdopappv).
## Related topics
[Operations for App-V](appv-operations.md)