Showing results for arrays hashtables and dictionary objects - Scripting Blog [archived]

Oct 15, 2011
0

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
0
0

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
0
0

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
0
1

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
Oct 10, 2011
0
1

Cool PowerShell Game Teaches Cmdlet Names

Doctor Scripto
Doctor Scripto

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 Munro...

Scripting Guy!Windows PowerShellscripting techniques