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

Disable-UevTemplate

jamiejdt|Last Updated: 3/8/2017
|
1 Contributor

SYNOPSIS

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.

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. The cmdlet disables the template that you specify.

Type: String
Parameter Sets: (All)
Aliases: TemplateID

Required: True
Position: 0
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

string

The settings location template ID.

OUTPUTS

NOTES

Enable-UevTemplate

Get-UevTemplate

Register-UevTemplate

Test-UevTemplate

Unregister-UevTemplate

Update-UevTemplate

© 2017 Microsoft