-
Search
-
Categories
- Lab Infrastructure (78)
- Messaging (10)
- Scripting (153)
- Uncategorized (2)
- Virtualization (208)
-
Archives
Monthly Archives: April 2013
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
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
Hashtables: Introduction
I was recently working on a script for a co-worker who is trying to learn more powershell. In the script I had used a couple of hashtables to store information…which caused a couple of questions as he was reviewing the … Continue reading
Posted in Scripting
Leave a comment