編集

次の方法で共有


Enable-UevTemplate

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.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-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
Required:True
Accept pipeline input:True
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
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

string

The settings location template ID.