Enable-Uev Template

Enables a settings location template.

Syntax

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

Description

The Enable-UevTemplate cmdlet enables a settings location template for the current user of the computer.

Examples

Example 1: Enable a specific template

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

This command enables 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 enables 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.

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.

Type: SwitchParameter
Aliases: wi
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

Inputs

string

The settings location template ID.