Delete From Disk
Hello Guys!!
In this post I'm going to show you how to delete a VM using PowerCLI (Something Basic but Cool).
First you need to identify the VM
Get-VM
After that we need to stop the VM,...., how? Use this command
Stop-VM -VM PHOTON01 -Confirm
So, the last step is delete the virtual machine...
Remove-VM PHOTON01 -DeletePermanently
VMware reference:https://www.vmware.com/support/developer/PowerCLI/PowerCLI41U1/html/Get-VM.html
Thanks for visiting my blog!!
Share and be sociable!!!
No hay comentarios:
Publicar un comentario