Author Archives: brian.wuchner

Quickly power on virtual machines with PowerCLI Get-View

I recently had a need to power on a lot of virtual machines in a specific order. I was given several text files each numbered with a startup sequence. At a specific time I would be given a number and … Continue reading

Posted in Scripting, Virtualization | 2 Comments

Do you have any way of getting server name from the attached list of IPs?

Every now and then I get a simple script idea in my email, like this one from a couple weeks ago: Do you have any way of getting server name from the attached list of IPs? This is a pretty … Continue reading

Posted in Scripting | 1 Comment

When are Windows patches happening?

As most people know, Microsoft releases patches on the second Tuesday of the month. In some organizations these patches are deployed to development, test and QA systems within a couple of days of the release. However, production systems can’t be … Continue reading

Posted in Scripting | Leave a comment

Hashtables: Item has already been added

In my previous two posts about hashtables I provided examples for creating a hashtable, returning a specific value and a description around performance. This post will focus on the errors you should expect if you start using a hashtable. The … Continue reading

Posted in Scripting | Leave a comment

Hashtables: Adding, Updating and Removing Items

To help describe these concepts, I have listed a few examples based on a CSV file containing HTML color codes. For purposes of sample data, create an array object of colors and HTML color codes. $colorCodes = Import-Csv ColorCodes.csv Define … Continue reading

Posted in Scripting | Leave a comment