Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Export-SCManagementPack

Exports Management Packs from Operations Manager.

Syntax

Default (Default)

Export-SCManagementPack
 [-ManagementPack] <ManagementPack[]>
 [-PassThru]
 -Path <String>
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

Description

The Export-SCManagementPack cmdlet exports Management Packs from Operations Manager. This command can also be executed with Export-SCOMManagementPack.

Examples

1: Export all sealed management packs to a specified path

PS C:\>Get-SCOMManagementPack | Where-Object{ $_.Sealed -eq $true } | Export-SCOMManagementPack -path "C:\Sealed Management Packs"

Exports the Sealed Management Packs to C:\Sealed Management Packs.

2: Export all unsealed management packs to a specified path

PS C:\>Get-SCOMManagementPack | Where-Object{ $_.Sealed -eq $false} | Export-SCOMManagementPack -path "C:\Unsealed Management Packs"

Exports the Unsealed Management Packs to C:\Unsealed Management Packs.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

-ManagementPack

The Export-SCManagementPack cmdlet exports Management Packs from Operations Manager. This command can also be executed with Export-SCOMManagementPack.

Parameter properties

Type:

ManagementPack[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-PassThru

The Export-SCManagementPack cmdlet exports Management Packs from Operations Manager. This command can also be executed with Export-SCOMManagementPack.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Path

The Export-SCManagementPack cmdlet exports Management Packs from Operations Manager. This command can also be executed with Export-SCOMManagementPack.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-WhatIf

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

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.