How to remove a VM from the Hyper-V manager when the GUI gives you no options.
If you need to force a removal use the following command:
Remove-VM -name "$VMNAME" -Force
The command reference can be found here
https://learn.microsoft.com/en-us/powershell/module/hyper-v/remove-vm?view=windowsserver2022-ps
Download
0 formats
No download links available.
How to remove a VM from Hyper-V with Powershell | NatokHD