Hi All,
Was hoping to get some help here as I struggle with PowerCLI when it relates to automating multiple objects.
We need to be able to zero out multiple vmdks with one script.
These VMDK files will be of the format - "text"-#### - ##.vmdk
We will need to have something that looks on a datastore for the #### section, say 0001 and find all of the instances of that number (eg. 0001-01,0001-02) and then zero out the disk.
Also if those VMs could then be deleted, it would be great
Any assistance would be wonderful, thank you