Category Archives: Scripting

vCheck 1.14: Inactive machines count

I was looking through the vCheck Feature Request tracking spreadsheet that I’ve been working on for several months.  I found this comment that was originally posted in September 2010: One of the Heading in the scripts says number of Inactive … Continue reading

Posted in Scripting, Virtualization | Leave a comment

Using PowerCLI to find ESX/ESXi BIOS Versions

A few weeks ago I updated the BIOS on several Dell R810 servers running ESXi 4.1U1. After applying the update I disabled the C-States and C1E settings as described here: http://enterpriseadmins.org/blog/virtualization/vmware-esxi-psod-on-dell-server/. Once I had all my updates completed, I wanted … Continue reading

Posted in Scripting, Virtualization | 2 Comments

Indianapolis VMUG Demo Days 4 PowerCLI Lab

Last week the Indianapolis VMware User Group hosted the 4th annual Demo Days event. I had the privilege of working with Ryan Birk (@rlbindy) and Jake Robinson (@jakerobinson) on the PowerCLI self paced lab. The purpose of this lab was … Continue reading

Posted in Scripting, Virtualization | 1 Comment

Make PowerCLI run faster

I came across this article: http://blogs.vmware.com/vipowershell/2011/06/how-to-speed-up-the-execution-of-the-first-powercli-cmdlet.html and decided to test the steps out myself: [cc lang=”dos”] REM View the following link for details: http://blogs.vmware.com/vipowershell/2011/06/how-to-speed-up-the-execution-of-the-first-powercli-cmdlet.html C:\Windows\Microsoft.NET\Framework\v2.0.50727\ngen.exe install “VimService41.XmlSerializers, Version=4.1.0.0, Culture=neutral, PublicKeyToken=10980b081e887e9f” C:\Windows\Microsoft.NET\Framework\v2.0.50727\ngen.exe install “VimService40.XmlSerializers, Version=4.0.0.0, Culture=neutral, PublicKeyToken=10980b081e887e9f” C:\Windows\Microsoft.NET\Framework\v2.0.50727\ngen.exe install “VimService25.XmlSerializers, Version=2.5.0.0, … Continue reading

Posted in Scripting, Virtualization | 3 Comments

64bit DOS commands with a 32bit (two-bit) application

This week I worked with a group of people that have a monitoring application — basically a glorified task scheduler for 32bit DOS applications. Among other things, this application attempts to check Microsoft Cluster Services (MSCS) failover status and send … Continue reading

Posted in Scripting | Leave a comment