How do I create a list of full-clone VMs from the command line and delete it?
I know how to delete full-clone VMs from the command line.
Thanks.
Did you also ask this on Reddit?
What you can do is: get a list of all desktop pools with full clones first:
VMware Horizon Server API - VMware API Explorer - VMware {code}
with a filter on source = virtual_center and type is automated
From those desktop pools you can get the machines using :
VMware Horizon Server API - VMware API Explorer - VMware {code}
with a filter on the pools
and with the machine id's you can delete them using:
VMware Horizon Server API - VMware API Explorer - VMware {code}
Thank you for your perfect answer.
I didn't ask there.
I will try to test it with what you have told me.
Thank you so much!!