Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Set-UevTemplateProfile

Brian Lich|Last Updated: 3/8/2017

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.

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.

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

Get-UevTemplate

Restore-UevBackup

© 2017 Microsoft