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
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.