Hi
I have a Hyper-v host that I cannot remove from SCVMM, the host is no longer available so removing the host from the GUI fails. Then I have tried to remove the server with Power shell and get this error below (ERROR 1)
When looking at the host it is having several VM`s that was on that host that is listed as "host not responding" in
the GUI, when I trying to remove that VM`s (I suspected that they on some way "locking" the host from be removed) I also get an error, see (ERROR 2)
Any ideas how to remove this host and relating VMs from the SCVMM?
ERROR 1:
PS H:\> Remove-VMHost -VMHost "swe-hv-002" -Force -Confirm
Confirm
Are you sure you want to perform this action?
Performing operation "Remove-VMHost" on Target "swe-hv-002".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):Y
Remove-VMHost : VMM cannot find ISO object . (Error ID: 801, Detailed Error: )
Ensure the library object is valid, and then try the operation again.
To restart the job, run the following command:
PS> Restart-Job -Job (Get-VMMServer corp-vs-002.edge.local | Get-Job | where {
$_.ID -eq "{820321c8-a846-45e9-a0ae-645ac6473f9b}"})
At line:1 char:14
+ Remove-VMHost <<<< -VMHost "swe-hv-002" -Force -Confirm
+ CategoryInfo : ReadError: (:) [Remove-VMHost], CarmineException
+ FullyQualifiedErrorId : 801,Microsoft.SystemCenter.VirtualMachineManager
.Cmdlets.RemoveHostCmdlet
ERROR 2:
Error
(2927)
A Hardware Management error has occurred trying to contact server swe-hv-002.edge.local.
(Unknown error (0x80338113))
Recommended Action
Check that WinRM is installed and running on server swe-hv-002.edge.local. For more information use the command "winrm helpmsg hresult".