Export-CMBaseline

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 SP1 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 running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

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 (https://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: 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"

Disable-CMBaseline

Enable-CMBaseline

Get-CMBaseline

Import-CMBaseline

New-CMBaseline

Remove-CMBaseline

Set-CMBaseline

Get-CMBaselineXMLDefinition

Get-CMBaselineSummarizationSchedule