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

PowerCLI script to create a clone with some conditions

$
0
0

Hello All, Can any one suggest me a script that should possible with below conditions. 1) Need create clone for every day 2 PM EST and that clone should be automatically deleted after 7 days. 2) Clone name format should be "Backup_MMDDYY" and the clone should be placed on "VM_BACKUPS" folder. 3) And it should be placed only in local datastore which has more than 150 GB freespace. 4) Once clone is completed or else failed to take a clone, need send an email. Thanks!!

 

Message was edited by: a.ß. - Changed title from all caps.


Viewing all articles
Browse latest Browse all 175326

Trending Articles



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