Export (0) Print
Expand All
Expand Minimize

Get-CMBaseline

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Get-CMBaseline

Gets configuration baselines.

Syntax

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

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

Parameter Set: SearchByParentBaseline
Get-CMBaseline -ParentBaseline <IResultObject> [ <CommonParameters>]

Parameter Set: SearchByParentBaselineIdMandatory
Get-CMBaseline -ParentBaselineId <String> [ <CommonParameters>]

Parameter Set: SearchByParentBaselineNameMandatory
Get-CMBaseline -ParentBaselineName <String> [ <CommonParameters>]




Detailed Description

The Get-CMBaseline cmdlet gets one or more configuration baselines.

Parameters

-Id<String[]>

Specifies an array of IDs of configuration baselines.


Aliases

CIId

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String[]>

Specifies an array of names of configuration baselines.


Aliases

LocalizedDisplayName

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ParentBaseline<IResultObject>

Specifies a CMParentBaseline object.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ParentBaselineId<String>

Specifies the ID of a parent baseline object.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ParentBaselineName<String>

Specifies the name of a parent baseline.


Aliases

none

Required?

true

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 configuration baselines by using a parent baseline name

This command gets the child configuration baselines in the parent baseline configuration item named ParentBaselineContoso01.


PS C:\> Get-CMBaseline -ParentBaselineName "ParentBaselineContoso01"

Example 2: Get configuration baselines by using a parent baseline ID

This command gets the child configuration baselines in the parent baseline configuration item that has the identity 16777357.


PS C:\> Get-CMBaseline -ParentBaselineId "16777357"

Related topics

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