Export (0) Print
Expand All
Expand Minimize

Get-CMBaselineXMLDefinition

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Get-CMBaselineXMLDefinition

Gets the XML definition of a configuration baseline.

Syntax

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

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

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




Detailed Description

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

Parameters

-Id<String[]>

Specifies an array of IDs of baseline configurations.


Aliases

CIId

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<IResultObject>

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


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String[]>

Specifies an array of baseline configuration names.


Aliases

LocalizedDisplayName

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

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

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft