Skip to content

Latest commit

 

History

History
130 lines (97 loc) · 3.11 KB

set-uevtemplateprofile.md

File metadata and controls

130 lines (97 loc) · 3.11 KB
description external help file ms.date ms.devlang schema title
Use this topic to help manage MDOP technologies with Windows PowerShell.
Microsoft.Uev.Commands.dll-Help.xml
12/05/2016
powershell
2.0.0
Set-UevTemplateProfile

Set-UevTemplateProfile

SYNOPSIS

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.Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: 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
Parameter Sets: (All)
Aliases: TemplateID

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
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
Parameter Sets: (All)
Aliases: 
Accepted values: Roaming, Backup, Vdi

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Get-UevTemplate

Restore-UevBackup