Export (0) Print
Expand All
Expand Minimize

Export-CMBaseline

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Export-CMBaseline

Exports configuration baselines.

Syntax

Parameter Set: SearchByNameMandatory
Export-CMBaseline -Name <String[]> -Path <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Export-CMBaseline -Id <String[]> -Path <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Export-CMBaseline -InputObject <IResultObject> -Path <String> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Export-CMBaseline cmdlet exports configuration baselines in a cabinet (.cab) file format from a Microsoft System Center 2012 Configuration Manager site. You can then import it to the same or a different System Center 2012 Configuration Manager site. Configuration data is converted to Desired Configuration Management‎ (DCM) Digest.

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

-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 names of configuration baselines.


Aliases

LocalizedDisplayName

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Path<String>

Specifies the full path of the cabinet (.cab) file.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

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: Export a baseline

This command exports the configuration baseline named BLconfig01 to the file named BaselineW2K8.cab.


PS C:\> Export-CMBaseline -Name "BLconfig01" -Path "\\Contoso01\CM\Toolbox\BaselineW2K8.cab"

Related topics

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