Category Archives: Scripting

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. [cc lang=”powershell”]$colorCodes = Import-Csv ColorCodes.csv[/cc] … Continue reading

Posted in Scripting | Leave a comment

Hashtables: Performance

In the previous post I provided a quick introduction to creating and using a hashtable object. If you are paying attention, you might have asked “Why would I go to extra work to create a hashtable when I can make … Continue reading

Posted in Scripting | Leave a comment