Get-CMBaselineXMLDefinition

Get-CMBaselineXMLDefinition

Gets the XML definition of a configuration baseline.

構文

Parameter Set: SearchByIdMandatory
Get-CMBaselineXMLDefinition -Id <String[]> [ <CommonParameters>]

Parameter Set: SearchByName
Get-CMBaselineXMLDefinition [-Name <String[]> ] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Get-CMBaselineXMLDefinition -InputObject <IResultObject> [ <CommonParameters>]

詳細説明

The Get-CMBaselineXMLDefinition cmdlet gets and displays the XML definition of one or more baseline configurations.

パラメーター

-Id<String[]>

Specifies an array of IDs of baseline configurations.

エイリアス

CIId

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-InputObject<IResultObject>

Specifies a CMBaseline object. To obtain a CMBaseline object, use the Get-CMBaseline cmdlet.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-Name<String[]>

Specifies an array of baseline configuration names.

エイリアス

LocalizedDisplayName

必須?

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 a configuration baseline XML definition

The first command gets the configuration baseline object that has the ID 16777568, and stores the object in the $CIObj variable.

The second command gets the XML definition of the configuration baseline stored in $CIObj.

PS C:\> $CIObj = Get-CMBaseline -Id "16777568"
PS C:\> Get-CMBaselineXMLDefinition -InputObject $CIObj

関連トピック

Get-CMBaseline