Get-UevTemplate

Aggiornamento: gennaio 2015

Si applica a: User Experience Virtualization 2.0, User Experience Virtualization 2.1

Get-UevTemplate

Gets settings location templates for .

Sintassi

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>]




Descrizione dettagliata

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.

Parametri

-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.


Alias

none

Obbligatorio?

true

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

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.


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Profile<String>

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

-- Roaming
-- Backup


Alias

none

Obbligatorio?

true

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

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.


Alias

none

Obbligatorio?

true

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

<CommonParameters>

Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere   about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Input

Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.

Output

Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.

  • 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.


Esempi

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

Argomenti correlati

Aggiunte alla community

AGGIUNGI
Mostra: