Hi,
We have list of Orphaned VMDK's in datastores and I am looking for PowerCLI script to delete those VMDK's directly from datastore.
The list is in excel format which contains vCenters name, Datastore Name and Disk(VMDK) path and last modification date/time.
Looking for script with check condition whether VMDK is connected to any VM or not, if not connected then proceed with deletion.
NOTE: Datastores are VVOLS
Thanks.