Remove-SCManagementPack
拿掉 Operations Manager 環境中的 System Center Operations Manager 管理元件。
Syntax
Remove-SCManagementPack
[-ManagementPack] <ManagementPack[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
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 |