< Back

Set-UevTemplateProfile

Wed Jan 30, 2019 6:05 pm

NAME Set-UevTemplateProfile



SYNOPSIS

Modifies which profile to associate with an individual template.





SYNTAX

Set-UevTemplateProfile -ID <String> -Profile {Roaming | Backup | Vdi} [-Confirm] [-WhatIf] [<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.





PARAMETERS

-ID <String>

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.



Required? true

Position? named

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Profile <String>

Specifies the name of a profile. The cmdlet associates the template with the specified profile. Valid values are:



-- Roaming

-- Backup



Required? true

Position? named

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value false

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

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.



Required? false

Position? named

Default value false

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS











OUTPUTS











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.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=826057

Get-UevTemplate

Restore-UevBackup