Category Archives: Scripting

Script to Configure SSL on ESX/ESXi

I’ve had to create a bunch of SSL certificates for ESX/ESXi hosts. Its always a pain because there are a bunch of steps and I can’t remember what my company always uses for the Organization name/Organizational unit name. I created … Continue reading

Posted in Scripting, Virtualization | 1 Comment

P2V Post Migration Cleanup

I’ve been doing a lot of P2V migrations over the last few months and wanted to share a couple of lessons learned. Our environment uses McAfee ePO to centrally manage our desktops and servers. We noticed that after a P2V … Continue reading

Posted in Scripting, Virtualization | Leave a comment

A quick way to find virtual machines with incorrect names

A few days back I saw a twitter post from @maishsk which linked to this article: http://technodrone.blogspot.com/2010/04/how-to-speed-up-your-powercli-queries.html The article got me thinking about the difference between Get-VM and Get-View and I wanted to apply it to a script I’ve been … Continue reading

Posted in Scripting, Virtualization | Leave a comment

Storage vMotion with Thin-Provisioning in PowerShell

In an earlier post I mentioned a script written by a co-worker to determine all of the non-thinprovisioned virtual machines.  This script is a follow-up to that, which allows actually uses storage vMotion to resolve the problems.  It is important … Continue reading

Posted in Scripting, Virtualization | Leave a comment

Get Thick Provisioned Disks

Another interesting PowerCLI script from today.  My proof of concept environment uses thin provisioned disks — this lets us have a lot more test machines than we really have disk space.   The other day we ran out of space … Continue reading

Posted in Scripting, Virtualization | 1 Comment