Import-SCManagementPack
Import a System Center Operations Manager management pack into your Operations Manager environment.
Syntax
FromManagementPackFile (Default)
Import-SCManagementPack
[-Fullname] <String[]>
[-PassThru]
[-SCSession <Connection[]>]
[-ComputerName <String[]>]
[-Credential <PSCredential>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
FromManagementPack
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
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
.
Parameter properties
Type: | String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-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
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Credential
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
.
Parameter properties
Type: | PSCredential |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Fullname
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
.
Parameter properties
Type: | String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | Path |
Parameter sets
FromManagementPackFile
Position: | 1 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-ManagementPack
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
.
Parameter properties
Type: | ManagementPack[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
FromManagementPack
Position: | 1 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-PassThru
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
.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-SCSession
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
.
Parameter properties
Type: | Connection[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-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
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
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.