Get-UevTemplate

Letzte Aktualisierung: Januar 2015

Betrifft: User Experience Virtualization 2.0, User Experience Virtualization 2.1

Get-UevTemplate

Gets settings location templates for .

Syntax

Parameter Set: ParameterProfile
Get-UevTemplate -Profile <String> [ <CommonParameters>]

Parameter Set: ParameterSetApplication
Get-UevTemplate -Application <String> [ <CommonParameters>]

Parameter Set: ParameterSetApplicationOrTemplateID
Get-UevTemplate [-ApplicationOrTemplateID] <String> [ <CommonParameters>]

Parameter Set: ParameterSetTemplateID
Get-UevTemplate -TemplateID <String> [ <CommonParameters>]




Detaillierte Beschreibung

The Get-UevTemplate cmdlet gets settings location templates that are registered with . Use this cmdlet to display information which includes the template ID, template name, template version, template description, template type, and the state settings of the template. The template ID includes a primary ID and a secondary ID. Applications in the same suite share the same primary ID.

Parameter

-Application<String>

Specifies the name of an application. The cmdlet gets templates that include the applications that you specify. Use wildcards to specify a partial name.


Aliasse

none

Erforderlich?

true

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-ApplicationOrTemplateID<String>

Specifies an application name or a template ID. The cmdlet gets templates that include the applications or IDs that you specify. Use wildcards to specify partial names or IDs.


Aliasse

none

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Profile<String>

Specifies the name of a profile. The cmdlet gets all templates associated with the specified profile. Valid values are:

-- Roaming
-- Backup


Aliasse

none

Erforderlich?

true

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-TemplateID<String>

Specifies the ID of a template. The cmdlet gets templates that include the applications that you specify. Use wildcards to specify partial IDs.


Aliasse

none

Erforderlich?

true

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

  • Microsoft.UEV.Commands.Template

    This cmdlet generates a Template object that contains the general information about a settings location template, such as template ID, template name, and template version.


Beispiele

Example 1: Get all registered templates

This command gets all the settings location templates that are registered with , and then passes them to the Format-Table cmdlet by using the pipeline operator. For more information, type Get-Help Format-Table.


PS C:\> Get-UevTemplate | Format-Table -AutoSize

Example 2: Get registered templates that contain a specified string

This command gets settings location templates that are registered with , and passes them to Format-Table by using the pipeline operator. This command specifies a value for the ApplicationOrTemplateID parameter. The cmdlet gets the templates that have a name or template ID that includes the specified string.


PS C:\> Get-UevTemplate -ApplicationOrTemplateID "office" | Format-Table -AutoSize

Example 3: Get registered templates that contain a specified string that includes a wildcard

This command gets settings location templates that are registered with , and passes them to Format-Table by using the pipeline operator. This command specifies a value for the ApplicationOrTemplateID parameter that contains a wildcard. The cmdlet gets the templates that have a name or template ID that includes the string office followed by the string word.


PS C:\> Get-UevTemplate -ApplicationOrTemplateID "office*word" | Format-Table -AutoSize

Example 4: Get registered templates associated with the Backup profile

This command gets settings location templates that are registered with and are associated with the Backup profile.


PS C:\> Get-UevTemplate -Profile Backup

Verwandte Themen

Community-Beiträge

HINZUFÜGEN
Anzeigen: