You can use the Remove-VM cmdlet for that, with the DeletePermanently switch set to $false
Remove-VM-DeletePermanently:$false-Confirm:$false
You can use the Remove-VM cmdlet for that, with the DeletePermanently switch set to $false
Remove-VM-DeletePermanently:$false-Confirm:$false