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

Remove-VM -DeletePermanently leaves files behind

$
0
0

I'm removing a VM with the -DeletePermanently switch but it's leaving a few files around.

 

I've tried:

$oldVM = Get-VM -Name $vmName

Get-HardDisk -VM $oldVM | Remove-HardDisk -DeletePermanently -Confirm:$false

Remove-VM -VM $oldVM -Confirm:$false

 

And:

Remove-VM -VM $vmName -DeletePermanently -Confirm:$false

 

In either case the VM is removed from inventory but the folder on the DataStore remains with a few small files. Some nvram, vmx vmxf, vmsd and log files remain - all very small (< 10KB).

 

Any idea why this is happening?

 

Thanks in advance.

 

Steve



Viewing all articles
Browse latest Browse all 176483

Trending Articles



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