Remove-SCManagementPack
Remove a System Center Operations Manager management pack in your Operations Manager environment.
Syntax
Default (Default)
Remove-SCManagementPack
[-ManagementPack] <ManagementPack[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Remove-SCManagementPack cmdlet removes a System Center Operations Manager management pack. This command can also be executed with Remove-SCOMManagementPack.
Examples
1: Remove a System Center Operations Manager management pack
PS C:\> $ManagementPack = Get-SCManagementPack -DisplayName "Test Overrides"
Remove-SCManagementPack -ManagementPack $ManagementPack
Gets and then removes an existing System Center Operations Manager management pack, using its display name.
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
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-ManagementPack
The Remove-SCManagementPack cmdlet removes a System Center Operations Manager management pack. This command can also be executed with Remove-SCOMManagementPack.
Parameter properties
| Type: | ManagementPack[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 1 |
| Mandatory: | True |
| Value from pipeline: | True |
| 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.