Get-CMApplicationRevisionHistory

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

Syntax

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

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
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
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
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

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

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

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

Specifies the version number of an application revision.

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