Showing archive results for October 2011

Oct 16, 2011
Post comments count1
Post likes count0

Dealing with PowerShell Hash Table Quirks

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy Ed Wilson shows how to deal with two Windows PowerShell hash table quirks.   Microsoft Scripting Guy Ed Wilson here. Our week in Ottawa draws to a close. We leave for Montreal today, and are really excited about the Windows PowerShell people we will meet while we are there. I enjoyed working on my Windows Power...

Scripting Guy!Windows PowerShellscripting techniques
Oct 15, 2011
Post comments count0
Post likes count0

Easily Create a PowerShell Hash Table

Doctor Scripto
Doctor Scripto

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 hash t...

Scripting Guy!Windows PowerShellscripting techniques
Oct 14, 2011
Post comments count0
Post likes count0

Create a PowerShell Quiz by Reading a Text File

Doctor Scripto
Doctor Scripto

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 the w...

Scripting Guy!Windows PowerShellscripting techniques
Oct 13, 2011
Post comments count0
Post likes count0

Add Random Question Features to a PowerShell Game

ScriptingGuy1
ScriptingGuy1

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 I ha...

Scripting Guy!Windows PowerShellscripting techniques
Oct 12, 2011
Post comments count0
Post likes count1

Create a PowerShell Quiz Script

Doctor Scripto
Doctor Scripto

Summary: Learn how to use hash tables and create a Windows PowerShell quiz script.   Microsoft Scripting Guy Ed Wilson here. For the past several days, I have been building a Windows PowerShell cmdlet name quiz. On the first day, I looked at replacing random letters in a string. Next I moved the code into a function and  dded parameter va...

Scripting Guy!Windows PowerShellscripting techniques