Remove-VM (Hyper-V) | Microsoft Docs
docs.microsoft.com › module › hyper-vDescription. The Remove-VM cmdlet deletes a virtual machine. Running this cmdlet deletes the virtual machine's configuration file, but does not delete any virtual hard drives. If the virtual machine has any snapshots, these are deleted and merged into the virtual hard disk files after the virtual machine is deleted.