Update-Uev
Template
Syntax
Update-UevTemplate
[-Path] <String[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-UevTemplate
-LiteralPath <String[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Update-UevTemplate cmdlet updates settings location templates in Microsoft User Experience Virtualization (UE-V). In order for the cmdlet to update a template, the new template must have a higher value for template version.
You must have administrative credentials to run this cmdlet.
Examples
Example 1: Update a template
PS C:\> Update-UevTemplate -Path "MicrosoftCalculator.xml"
This command updates the settings location template specified in the current directory.
Example 2: Update templates by specifying a path
PS C:\> Update-UevTemplate -Path "Microsoft*.xml"
This command updates all settings location templates in the current directory that match the specified string.
Example 3: Update a template by specifying a literal path
PS C:\> Update-UevTemplate -LiteralPath "C:\Program Files\Microsoft User Experience Virtualization\Templates\MicrosoftCalculator.xml"
This command updates a settings location template by specifying a literal path to the template file.
Required Parameters
Specifies an array of literal file paths. The cmdlet updates the settings location templates that have the literal paths that you specify.
Type: | String[] |
Aliases: | PSPath |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
Specifies an array of file paths. The cmdlet updates the settings location templates that have the paths that you specify. Use wildcards to specify multiple files.
Type: | String[] |
Aliases: | Name |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True (ByPropertyName, ByValue) |
Accept wildcard characters: | False |
Optional Parameters
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
string[]
An array of paths to settings location templates.