Get-CMApplicationRevisionHistory

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

Syntax

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

Description

The Get-CMApplicationRevisionHistory cmdlet gets a Configuration Manager object that represents the revision history for an application. When you revise an application or a deployment type contained in an application, 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.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Get the revision history for an application

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

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

Parameters

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

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

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

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

-Id

Specifies an array of IDs of application revision histories.

Type:Int32
Aliases:CIId, CI_ID
Position:Named
Default value:None
Required:True
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
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Specifies an array of names of application revision histories.

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

-Revision

Specifies the version number of an application revision.

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

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

IResultObject[]

IResultObject