Disable-UevTemplate

Disables a settings location template.

Syntax

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

Description

The Disable-UevTemplate cmdlet disables a settings location template for the current user of the computer. Use this cmdlet to disable a settings location template for an individual user. To disable a settings location template for all users on the computer, use the Unregister-UevTemplate cmdlet.

Examples

Example 1: Disable a specific template

PS C:\> Disable-UevTemplate -ID "MicrosoftCalculator6"

This command disables a settings location template that has the specified ID for the current user.

Required Parameters

-ID

Specifies the ID of a settings location template. The cmdlet disables the template that you specify.

Type:String
Aliases:TemplateID
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-Confirm

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

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
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
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

string

The settings location template ID.