Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Get-CMBaselineXMLDefinition

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 (http://go.microsoft.com/fwlink/p/?LinkID=113216).

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

This example gets the XML definition of a configuration baseline.

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

Community Additions

ADD
Show:
© 2016 Microsoft