Import-SCManagementPack

Import a System Center Operations Manager management pack into your Operations Manager environment.

Syntax

Import-SCManagementPack
      [-Fullname] <String[]>
      [-PassThru]
      [-SCSession <Connection[]>]
      [-ComputerName <String[]>]
      [-Credential <PSCredential>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Import-SCManagementPack
      [-ManagementPack] <ManagementPack[]>
      [-PassThru]
      [-SCSession <Connection[]>]
      [-ComputerName <String[]>]
      [-Credential <PSCredential>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Import-SCManagementPack cmdlet imports a System Center Operations Manager (SCOM) Management Pack into your SCOM environment. This command can also be executed with Import-SCOMManagementPack.

By default, this cmdlet uses the active persistent connection to a management group. Use the SCSession parameter to specify a different persistent connection. You can create a temporary connection to a management group by using the ComputerName and Credential parameters. For more information, type Get-Help about_OpsMgr_Connections.

Examples

1: Import a System Center Operations Manager management pack

PS C:\>Import-SCManagementPack -FullName "C:\temp\customMP.xml"

Imports the System Center Operations Manager Management Pack, located at C:\temp with the name customMP.xml.

2: Import a System Center Operations Manager management pack with pipeline

PS C:\>Get-SCManagementPack -ManagementPackFile "C:\Program Files\Microsoft System Center\Management Pack Tools\Microsoft.ACS.Unix.Library.mp" | Import-SCManagementPack

Imports the System Center Operations Manager Management Pack, located at C:\Program Files\Microsoft System Center\Management Pack Tools\ with the name Microsoft.ACS.Unix.Library.mp.

Parameters

-ComputerName

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Credential

Type:PSCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Fullname

Type:String[]
Aliases:Path
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ManagementPack

Type:ManagementPack[]
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-PassThru

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SCSession

Type:Connection[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False