Get-UevTemplateProgram

Aggiornamento: gennaio 2015

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

Get-UevTemplateProgram

Gets the information about programs defined by a settings location template.

Sintassi

Parameter Set: Default
Get-UevTemplateProgram [-ID] <String> [ <CommonParameters>]




Descrizione dettagliata

The Get-UevTemplateProgram cmdlet gets the information about programs defined by a settings location template. monitors each program that is defined in the template for changes to the settings.

Parametri

-ID<String>

Specifies the ID of a settings location template. A settings location template stores the location of files and registry keys that contain application settings.


Alias

TemplateID

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

True (ByValue, ByPropertyName)

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.

  • System.String

    The settings location template ID.


Output

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

  • Microsoft.UEV.Commands.Process

    This cmdlet generates an object that contains general information about a program defined in a settings location template, such as the program name and the range of the versions to monitor.


Note

  • can define multiple programs for a single application in the settings location template.

Esempi

Example 1: Get all defined programs

This command gets the defined programs for all of the registered settings location templates. The command uses the Get-UevTemplate cmdlet to get the template that is stored on the computer, and passes the output to the Get-UevTemplateProgram cmdlet by using the pipeline operator. The command then passes the results to the Format-Table cmdlet by using the pipeline operator. For more information, type Get-Help Format-Table.


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

Example 2: Get all defined programs for Office applications

This command gets the defined programs for the registered settings location templates of Office applications. The command uses the Get-UevTemplate cmdlet to get the Office applications that are defined on the computer, and passes the output to the Get-UevTemplateProgram cmdlet by using the pipeline operator. The command then passes the results to the Format-Table cmdlet by using the pipeline operator. For more information, type Get-Help Format-Table.


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

Example 3: Get all defined programs by template ID

This command gets the defined programs for the settings location template whose ID is MicrosoftCalculator6. The command uses the Get-UevTemplateProgram cmdlet to get the application that is identified by the ID MicrosoftCalculator6. The command then passes the results to the Format-Table cmdlet by using the pipeline operator. For more information, type Get-Help Format-Table.


PS C:\> Get-UevTemplateProgram -TemplateId "MicrosoftCalculator6" | Format-Table -AutoSize

Argomenti correlati

Aggiunte alla community

AGGIUNGI
Mostra: