Posted in
Virtual Machine Manager,
Windows Powershell |
No Comment | 5,969 views | 28/10/2009 12:36
You may need to remove Hyper-V Host without using Credentials if you can no longer access that host. But using SCVMM panel is not a right way sometimes if that host have a associate with another SCVMM server.
1
| Remove-VMHost -VMHost RH-VOEM01 -Force -Confirm |
Remove-VMHost -VMHost RH-VOEM01 -Force -Confirm
With using Force switch, you can remove VMHost directly from SCVMM SQL database. So you don’t need credentials because this operation doesn’t remove SCVMM agent on target host. This command saved my life :)