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

Unregister-UevTemplate

Last Updated: 3/8/2017

SYNOPSIS

Unregisters a settings location template from uev_1.

SYNTAX

ParameterSetTemplateId

Unregister-UevTemplate [-ID] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

ParameterSetAllTemplates

Unregister-UevTemplate [-All] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Unregister-UevTemplate cmdlet unregisters a settings location template from uev_1. A template defines settings to synchronize between computers. After you unregister a template, uev_tla no longer synchronizes those settings. If you try to unregister a template that is not registered, the cmdlet returns an error.

You must have administrative credentials to run this cmdlet.

EXAMPLES

Example 1: Unregister a template

PS C:\> Unregister-UevTemplate -TemplateId "MicrosoftCalculator6"

This command unregisters a settings location template that has the ID MicrosoftCalculator6.

Example 2: Unregister templates for applications that match a specified string

PS C:\> Get-UevTemplate -Application "calc" | Unregister-UevTemplate

This command uses the Get-UevTemplate cmdlet to get all the registered settings location templates whose application name contains the specified string, and then passes them to the current cmdlet by using the pipeline operator. The cmdlet unregisters all the templates for applications that contain the string calc.

Example 3: Unregister all templates

PS C:\> Unregister-UevTemplate -All

This command unregisters all the settings location templates that are currently registered with uev_tla.

PARAMETERS

-All

Indicates that the cmdlet unregisters all settings location templates.

Type: SwitchParameter
Parameter Sets: ParameterSetAllTemplates
Aliases: 

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

-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. The cmdlet unregisters the template that you specify. If you specify an ID for a template that is not registered, the cmdlet returns an error.

Type: String
Parameter Sets: ParameterSetTemplateId
Aliases: TemplateID

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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

System.String

The settings location template ID.

OUTPUTS

NOTES

Disable-UevTemplate

Enable-UevTemplate

Get-UevTemplate

Register-UevTemplate

Test-UevTemplate

Update-UevTemplate

© 2017 Microsoft