If you use Hyper-V on Windows, you can add, run, or remove guest operating systems from the Hypere-V administrative Console. More convenient would be a tool with GUI to delete VMs.
Advertising
Mikael Nystrom has created a PowerShell script for this purpose and offered for free on GitHub.
Nice to Know – GUI based Tool to completely remove a virtual machine from a Hyper-V host, including all files https://t.co/enOEKO5au0 pic.twitter.com/Qm3BFZHC6T
— Mikael Nystrom (@mikael_nystrom) 21. September 2018
Simply copy the GitHub source code into a .ps1 file and run it with .\name.ps1 in the PowerShell.