Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Easily Create a PowerShell Hash Table

Summary: Learn how to automatically populate a hash table in a Windows PowerShell script.   Microsoft Scripting Guy Ed Wilson here. A hash table is an important data structure in Windows PowerShell. Many of the cmdlets use hash tables to format their input. For example, if I want to create a custom column header in a table, I have to use a ...

Create a PowerShell Quiz by Reading a Text File

Summary: Learn how to create a Windows PowerShell hash table from a text file.   Microsoft Scripting Guy Ed Wilson here. Our Canadian trek continues. We got to meet with Microsoft MVP Sean Kearney and his wife Rose, and we spent the day roaming around Toronto. He even took me to the store where he bought his trademark BATCHman hat. Along ...

Add Random Question Features to a PowerShell Game

Summary: Learn how to add random question features to a Windows PowerShell script game. Microsoft Scripting Guy Ed Wilson here. Well, the Scripting Wife and I have really enjoyed Ottawa. The class I am teaching on Windows PowerShell has absolutely rocked! Ottawa is one of my favorite cities (there is a really cool woodworking store here), and...

Cool PowerShell Game Teaches Cmdlet Names

Summary: Learn Windows PowerShell cmdlet names by taking the Dr. Scripto Challenge. Microsoft Scripting Guy Ed Wilson here. The Scripting Wife and I are on a road trip in Canada. We had a wonderful time in Toronto with Windows PowerShell MVP Sean Kearney. Now we are heading to Ottawa where we plan to meet with Windows PowerShell MVP Kirk ...