Remove-SCManagementPack
删除 Operations Manager 环境中的 System Center Operations Manager 管理包。
语法
Remove-SCManagementPack
[-ManagementPack] <ManagementPack[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
说明
Remove-SCManagementPack cmdlet 删除 System Center Operations Manager 管理包。 也可以使用 执行 Remove-SCOMManagementPack
此命令。
示例
1:删除 System Center Operations Manager 管理包
PS C:\> $ManagementPack = Get-SCManagementPack -DisplayName "Test Overrides"
Remove-SCManagementPack -ManagementPack $ManagementPack
获取 ,然后使用其显示名称删除现有的 System Center Operations Manager 管理包。
参数
-Confirm
提示你在运行 cmdlet 之前进行确认。
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ManagementPack
Type: | ManagementPack[] |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
显示运行该 cmdlet 时会发生什么情况。 此 cmdlet 未运行。
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |