--- title: Managing UE-V Settings Location Templates Using Windows PowerShell and WMI description: Managing UE-V Settings Location Templates Using Windows PowerShell and WMI author: MaggiePucciEvans ms.pagetype: mdop, virtualization ms.mktglfcycl: deploy ms.sitesec: library ms.prod: w10 --- # Managing UE-V Settings Location Templates Using Windows PowerShell and WMI User Experience Virtualization (UE-V) uses XML settings location templates to define the settings that User Experience Virtualization captures and applies. UE-V includes a set of standard settings location templates. It also includes the UE-V template generator tool that enables you to create custom settings location templates. After you create and deploy settings location templates, you can manage those templates by using Windows PowerShell and the Windows Management Instrumentation (WMI). For a complete list of UE-V PowerShell cmdlets, see [UE-V 2 Cmdlet Reference](https://technet.microsoft.com/library/dn520275.aspx). ## Manage UE-V settings location templates by using Windows PowerShell The WMI and Windows PowerShell features of UE-V include the ability to enable, disable, register, update, and unregister settings location templates. By using these features, you can automate the process of registering, updating, or unregistering templates with the UE-V service. You can also manually register templates by using WMI and Windows PowerShell commands. By using these features in conjunction with an electronic software distribution solution, Group Policy, or another automated deployment method such as a script, you can further automate that process. You must have administrator permissions to update, register, or unregister a settings location template. Administrator permissions are not required to enable, disable, or list templates. ****To manage settings location templates by using Windows PowerShell**** 1. Use an account with administrator rights to open a Windows PowerShell command prompt. 2. Use the following Windows PowerShell cmdlets to register and manage the UE-V settings location templates.
Windows PowerShell command | Description |
---|---|
|
Lists all the settings location templates that are registered on the computer. |
|
Lists all the settings location templates that are registered on the computer where the application name or template name contains <string>. |
|
Lists all the settings location templates that are registered on the computer where the template ID contains <string>. |
|
Lists all the settings location templates that are registered on the computer where the application or template name, or template ID contains <string>. |
|
Gets the name of the program and version information, which depend on the template ID. |
|
Gets the effective list of Windows apps. |
|
Gets the list of Windows apps that are configured for the computer. |
|
Gets the list of Windows apps that are configured for the current user. |
|
Registers one or more settings location template with UE-V by using relative paths and/or wildcard characters in file paths. After a template is registered, UE-V synchronizes the settings that are defined in the template between computers that have the template registered. |
|
Registers one or more settings location template with UE-V by using literal paths, where no characters can be interpreted as wildcard characters. After a template is registered, UE-V synchronizes the settings that are defined in the template between computers that have the template registered. |
|
Unregisters a settings location template with UE-V. When a template is unregistered, UE-V no longer synchronizes the settings that are defined in the template between computers. |
|
Unregisters all settings location templates with UE-V. When a template is unregistered, UE-V no longer synchronizes the settings that are defined in the template between computers. |
|
Updates one or more settings location templates with a more recent version of the template. Use relative paths and/or wildcard characters in the file paths. The new template should be a newer version than the existing template. |
|
Updates one or more settings location templates with a more recent version of the template. Use full paths to template files, where no characters can be interpreted as wildcard characters. The new template should be a newer version than the existing template. |
|
Removes one or more Windows apps from the computer Windows app list. |
|
Removes Windows app from the current user Windows app list. |
|
Removes all Windows apps from the computer Windows app list. |
|
Removes one or more Windows apps from the current user Windows app list. |
|
Removes all Windows apps from the current user Windows app list. |
|
Disables a settings location template for the current user of the computer. |
|
Disables one or more Windows apps in the computer Windows app list. |
|
Disables one or more Windows apps in the current user Windows app list. |
|
Enables a settings location template for the current user of the computer. |
|
Enables one or more Windows apps in the computer Windows app list. |
|
Enables one or more Windows apps in the current user Windows app list. |
|
Determines whether one or more settings location templates comply with its XML schema. Can use relative paths and wildcard characters. |
|
Determines whether one or more settings location templates comply with its XML schema. The path must be a full path to the template file, but does not include wildcard characters. |
Windows PowerShell command |
Description |
---|---|
|
Lists all the settings location templates that are registered for the computer. |
|
Gets the name of the program and version information, which depends on the template name. |
|
Gets the effective list of Windows apps. |
Get-WmiObject -Namespace root\Microsoft\UEV MachineConfiguredWindows8App |
Gets the list of Windows apps that are configured for the computer. |
|
Gets the list of Windows apps that are configured for the current user. |
|
Registers a settings location template with UE-V. |
|
Unregisters a settings location template with UE-V. As soon as a template is unregistered, UE-V no longer synchronizes the settings that are defined in the template between computers. |
|
Updates a settings location template with UE-V. The new template should be a newer version than the existing one. |
|
Removes one or more Windows apps from the computer Windows app list. |
|
Removes one or more Windows apps from the current user Windows app list. |
|
Disables one or more settings location templates with UE-V. |
|
Disables one or more Windows apps in the computer Windows app list. |
|
Disables one or more Windows apps in the current user Windows app list. |
|
Enables a settings location template with UE-V. |
|
Enables Windows apps in the computer Windows app list. |
|
Enables Windows apps in the current user Windows app list. |
|
Determines whether a given settings location template complies with its XML schema. |