Quantcast
Channel: VMware Communities : All Content - VMware PowerCLI
Viewing all articles
Browse latest Browse all 16717

Script to Automate Zero Out of Disks

$
0
0

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


Viewing all articles
Browse latest Browse all 16717

Trending Articles



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