Tag: Scripting
Adding a PowerShell Windows Update Script to my VMware Customizations
- Ben Liebowitz
- 0
- 3650
In my environments, we typically convert the templates to Virtual Machines once a quarter so we can install Windows Updates. This means, there could be a number of patches to install if you’re 2+ months out from the last time they were updated. So I decided to use a PowerShell script that my coworker wrote to do Windows Updates and…
PowerCLI Script to list VMs not specifically set to Thick Eager Zeroed
- Ben Liebowitz
- 0
- 1985
First, I’ll start with a little back story. We recently deployed an EMC XTremIO All-Flash storage appliance. The recommendation we got from EMC, for the best deduplication ratios, was to use the Thick-Eager Zeroed disk format. No matter how many times I tell my coworkers to make sure to use this format when deploying VMs to the xTremIO LUNs, once…
PowerCLI Script to change the DRS Slider
- Ben Liebowitz
- 2
- 2834
So, I have a cluster of hosts that makes up our QA Environment. As with most QA environments, it’s tight on resources and very over-subscribed. On a regular basis, I have to move our DRS Slider to be more aggressive, RUN DRS to refresh recommendations, and then move the slider back. This allows DRS to rebalance the cluster. Today, I…
Deploying a VM with PowerCLI in a Semi-Complex Environment
- Ben Liebowitz
- 3
- 1561
The following is a guest blog post by my brother Ben Liebowitz. I guess virtualization runs in the family! Follow him on Twitter at @ben_liebowitz. ———————————————————————— Last year, while working at a previous employer, I wanted to make it easier for less-experienced team members to deploy VMs, while making sure little to no mistakes are made. I decided to go…