Delete the root\ccm namespace on the local computer.
1 |
Get-WmiObject -query "Select * From __Namespace Where Name='CCM'" -Namespace "root" | Remove-WmiObject |
Delete the root\ccm namespace on a remote computer.
1 2 |
$Server = "ServerName" Get-WmiObject -query "Select * From __Namespace Where Name='CCM'" -Namespace "root" -ComputerName $Server | Remove-WmiObject |