Get-UevTemplateProgram

Letzte Aktualisierung: Januar 2015

Betrifft: User Experience Virtualization 2.0, User Experience Virtualization 2.1

Get-UevTemplateProgram

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

Syntax

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




Detaillierte Beschreibung

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.

Parameter

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


Aliasse

TemplateID

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

True (ByValue, ByPropertyName)

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.

  • System.String

    The settings location template ID.


Ausgaben

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

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


Hinweise

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

Beispiele

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

Verwandte Themen

Community-Beiträge

HINZUFÜGEN
Anzeigen: