Set-UevTemplateProfile
Modifies which profile to associate with an individual template.
Syntax
Set-UevTemplateProfile
-ID <String>
-Profile <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Set-UevTemplateProfile cmdlet modifies which profile to associate with an individual template. You can associate a template with the roaming profile or with the backup profile. If you have not specified the profile for a template, the template associates to the roaming profile.
Examples
Example 1: Associate a template with the Backup profile
PS C:\>Set-UevTemplateProfile -ID "MicrosoftCalculator6" -Profile "Backup"
This command associates a template with the backup profile. Settings for the application back-up, instead of synchronizing between computers.
Example 2: Associate a template with the Roaming profile
PS C:\>Set-UevTemplateProfile -ID "MicrosoftCalculator6" -Profile "Roaming"
This command associates a template with the roaming profile. Settings for the application synchronize between computers.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ID
Specifies the ID of a settings location template. If you specify an ID for a template that is not registered, this cmdlet returns an error.
Type: | String |
Aliases: | TemplateID |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Profile
Specifies the name of a profile. The cmdlet associates the template with the specified profile. Valid values are:
- Roaming
- Backup
Type: | String |
Accepted values: | Roaming, Backup, Vdi |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |