< Back

Disable-UevTemplate

Wed Jan 30, 2019 6:05 pm

NAME Disable-UevTemplate



SYNOPSIS

Disables a settings location template.





SYNTAX

Disable-UevTemplate [-ID] <String> [-Confirm] [-WhatIf] [<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.





PARAMETERS

-ID <String>

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



Required? true

Position? 1

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

string



The settings location template ID.





OUTPUTS









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.







RELATED LINKS

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

Enable-UevTemplate

Get-UevTemplate

Register-UevTemplate

Test-UevTemplate

Unregister-UevTemplate

Update-UevTemplate