-
Search
-
Categories
- Lab Infrastructure (78)
- Messaging (10)
- Scripting (153)
- Uncategorized (2)
- Virtualization (208)
-
Archives
Category Archives: Scripting
Create a bunch of snapshots with PowerCLI
Last week I was working with snapshots in my lab. I came up with this one liner to create a bunch of snapshots on the same virtual machine: for ($i=1; $i -le 5; $i++) {get-vm “snaptest” |new-snapshot -name “snapshot00$i” -Description … Continue reading
Posted in Scripting, Virtualization
Leave a comment
Check ESXi to see if sshd is listening
In a recent service request with VMware, Tech Support enabled ssh on one of my ESXi hosts. Unfortunately, the outage that prompted my support request impacted multiple hosts in different clusters, so we were looking at many things in the … Continue reading
Posted in Scripting, Virtualization
Leave a comment
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