Category Archives: Scripting

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: 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, Culture=neutral, PublicKeyToken=10980b081e887e9f” … 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

PowerCLI vCheck 5.40

The other day I noticed two bugs in version 5.38 of the vCheck script. This minor update resolves those bugs and adds a check for 4.1 hosts without Active Directory authentication configured. # Version 5.40- bwuch: Host version greater than/equal … Continue reading

Posted in Scripting, Virtualization | 11 Comments

Export, Compare, and Synchronize Active Directory Schemas

I’ve had this link in my notes for a long time. I’ve only used it twice, but thought it was worth sharing. If you ever need to make a test Active Directory for some really crazy testing, and you’ve ever … Continue reading

Posted in Messaging, Scripting | 1 Comment

Configure virtual machine for nested ESX/ESXi with PowerCLI

I’ve been working with several scripts in a lab recently. Most of these labs require additional ESXi hosts (namely vCheck testing) so I’ve been propping up some nested ESXi virtual machines. When I create a virtual machine to run nested … Continue reading

Posted in Scripting, Virtualization | 1 Comment