Get-CMApplicationRevisionHistory

Gets a Configuration Manager object that represents the revision history for an application.

Syntax

Get-CMApplicationRevisionHistory
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   -Id <Int32>
   [-Revision <UInt32>]
   [<CommonParameters>]
Get-CMApplicationRevisionHistory [-DisableWildcardHandling] [-ForceWildcardHandling]
 -InputObject  [-Revision ] []
Get-CMApplicationRevisionHistory [-Name]  [-DisableWildcardHandling] [-ForceWildcardHandling]
 [-Revision ] []

Description

The Get-CMApplicationRevisionHistory cmdlet gets a Microsoft System Center Configuration Manager object that represents the revision history for an application. When you revise an application or a deployment type contained in an application, System Center Configuration Manager creates a new revision of the application. You can use the revision history to display each revision made to an application, view the properties of a revision, restore a previous revision, or delete an old revision.

Examples

Example 1: Get the revision history for an application

PS C:\> Get-CMApplicationRevisionHistory -Name "MSXML 6.0 Parser"

This command gets the application revision history named MSXML 6.0 Parser.

Required Parameters

-Id

Specifies an array of IDs of application revision histories.

Type:Int32
Aliases:CIId, CI_ID
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

Specifies an application object. To obtain an application object, use the Get-CMApplication cmdlet.

Type:IResultObject
Aliases:Application
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name

Specifies an array of names of application revision histories.

Type:String
Aliases:LocalizedDisplayName
Required:True
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Revision

Specifies the version number of an application revision.

Type:UInt32
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False