I will be giving my first VMUG presentation on Thursday, September 26th at the Wisconsin VMUG meeting in Appleton, WI. The topic of my presentation will be three scripts that we use in our VMware View environment to automate routine and time consuming tasks.
One of the scripts that I will be including in my presentation is the Start-Recompose script that I posted a few weeks ago. I’ve made some updates to this script to address a few things that I’ve always wanted to improve with this script. I’ll be posting about the other two scripts this week.
These improvements are:
- Getting pool information directly from the View LDAP datastore instead of using the Get-Pool cmdlet
- Checking for space on the Replica volume before scheduling the Recompose operation
- Adding email and event logging alerts
- The ability to recompose just one pool if multiple pools share the same base image.
The updated script will still need to be run from the View Connection Server as it requires the View PowerCLI cmdlets. The vSphere PowerCLI cmdlets and the Quest AD cmdlets will also need to be available. A future update will probably remove the need for the Quest cmdlets, but I didn’t feel like reinventing the wheel at the time.
The script can be downloaded from github here.