Get-CMApplicationRevisionHistory

Get-CMApplicationRevisionHistory

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

構文

Parameter Set: SearchByNameMandatory
Get-CMApplicationRevisionHistory -Name <String[]> [-Revision <Int32> ] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Get-CMApplicationRevisionHistory -Id <String[]> [-Revision <Int32> ] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Get-CMApplicationRevisionHistory -InputObject <IResultObject> [-Revision <Int32> ] [ <CommonParameters>]

詳細説明

The Get-CMApplicationRevisionHistory cmdlet gets a Microsoft System Center 2012 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 2012 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.

パラメーター

-Id<String[]>

Specifies an array of IDs of application revision histories.

エイリアス

CIId

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-InputObject<IResultObject>

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

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Name<String[]>

Specifies an array of names of application revision histories.

エイリアス

LocalizedDisplayName

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Revision<Int32>

Specifies the version number of an application revision.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Get the revision history for an application

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

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

関連トピック

Remove-CMApplicationRevisionHistory

Restore-CMApplicationRevisionHistory