Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 180259

Using Remove-VM

$
0
0

I am trrying to run a scheduled job to delete a cloned VM.

 

Every time I run Get-VM <..........VM Name...........> | remove-vm -deletefromdisk -confirm:$false

But the VM goes Orphaned - files are deleted from the disks.

 

also tried 

 

Get-VM <.....VM Name...........> | Remove-VM -DeletePermanently -Confirm:$false

 

gives same results.


Viewing all articles
Browse latest Browse all 180259

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>