Scripting Blog [archived]

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

Use PowerShell Hash Tables with Your Cmdlets

Summary: Learn how to Use Windows PowerShell hash tables with your cmdlets to create powerful commands.   (image) Hey, Scripting Guy! I think I understand hash tables after having read your earlier articles about working with hash tables. What I do not understand is how hash tables work within Windows PowerShell commands. In addition, how...

Use a PowerShell Hash Table to Simplify File Backups

Summary: Learn how to use a Windows PowerShell hash table to simplify backing up unique files.   (image) Hey, Scripting Guy! Your series on hash tables has been pretty interesting. I am wondering if you have some practical uses for hash tables. Can you provide a few examples of how using a hash table would be useful? —RE   (...

Automatically Create a PowerShell Hash Table

Summary: Learn how to automatically create a Windows PowerShell hash table and extra process data.   (image) Hey, Scripting Guy! I thought your article introducing hash tables was pretty interesting. I was wondering how I might populate a hash table. Can you explain how to do this easily? —AC   (image)  Hello AC, Microsoft...

Learn the Basics of PowerShell Hash Tables

Summary: Microsoft Scripting Guy Ed Wilson covers the basics of hash tables in Windows PowerShell.   (image) Hey, Scripting Guy! I have been reading your articles for several years, but I have never been compelled to write until today. I was reading an old article about putting all the Windows PowerShell cmdlet aliases into a hash table, ...

Create a Hash Table with PowerShell Aliases and Definitions

Summary: In preparation for creating a Windows PowerShell ISE add-on to automatically remove aliases, Scripting Guy Ed Wilson builds a hash table with alias definitions. Microsoft Scripting Guy, Ed Wilson, here. It has finally happened, I unveiled the last event of the 2011 Windows PowerShell Scripting Games on Friday. Contestants still have a...