Get-UevTemplateProgram
Gets the information about programs defined by a settings location template.
Syntax
Get-UevTemplateProgram
[-ID] <String>
[<CommonParameters>]
Description
The Get-UevTemplateProgram cmdlet gets the information about programs defined by a settings location template. Microsoft User Experience Virtualization (UE-V) monitors each program that is defined in the template for changes to the settings.
Examples
Example 1: Get all defined programs
PS C:\> Get-UevTemplate | Get-UevTemplateProgram | Format-Table -AutoSize
TemplateId ProgramName ProductVersionRange FileVersionRange
---------- ----------- ------------------- ----------------
MicrosoftCalculator6 CALC.EXE 6-6
MicrosoftNotepad6 NOTEPAD.EXE 6-6
MicrosoftOffice2010.OneNote ONENOTE.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Word WINWORD.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Excel EXCEL.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.PowerPoint POWERPNT.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Outlook OUTLOOK.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.InfoPath INFOPATH.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Visio VISIO.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Groove Groove.exe 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Access MSACCESS.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Project WINPROJ.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Publisher MSPUB.EXE 14.0-14.0 14.0-14.0
MicrosoftWordpad6 WORDPAD.EXE 6-6
MicrosoftInternetExplorer.Version8 iexplore.exe 8.0-8.0 8.0-8.0
MicrosoftInternetExplorer.Version9 iexplore.exe 9.0-9.0 9.0-9.0
MicrosoftInternetExplorer.Version10 iexplore.exe 10.0-10.0 10.0-10.0
MicrosoftLync2010 communicator.exe 4.0-4.0 4.0-4.0
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
.
Example 2: Get all defined programs for Office applications
PS C:\> Get-UevTemplate -Application "office" | Get-UevTemplateProgram | Format-Table -AutoSize
TemplateId ProgramName ProductVersionRange FileVersionRange
---------- ----------- ------------------- ----------------
MicrosoftOffice2010.OneNote ONENOTE.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Word WINWORD.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Excel EXCEL.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.PowerPoint POWERPNT.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Outlook OUTLOOK.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.InfoPath INFOPATH.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Visio VISIO.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Groove Groove.exe 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Access MSACCESS.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Project WINPROJ.EXE 14.0-14.0 14.0-14.0
MicrosoftOffice2010.Publisher MSPUB.EXE 14.0-14.0 14.0-14.0
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
.
Example 3: Get all defined programs by template ID
PS C:\> Get-UevTemplateProgram -TemplateId "MicrosoftCalculator6" | Format-Table -AutoSize
TemplateId ExecutableName VersionRangeList
---------- -------------- ----------------
MicrosoftCalculator6 CALC.EXE 6-6
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
.
Parameters
-ID
Specifies the ID of a settings location template. A settings location template stores the location of files and registry keys that contain application settings.
Type: | String |
Aliases: | TemplateID |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
The settings location template ID.
Outputs
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.
Notes
- UE-V can define multiple programs for a single application in the settings location template.