Scripting Blog

A place to learn about PowerShell and share stories of automation

Use PowerShell Hash Tables with Your Cmdlets

Summary: Learn how to Use Windows PowerShell hash tables with your cmdlets to create powerful commands.   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 do I ...

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.   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   Hello RE, ...

Automatically Create a PowerShell Hash Table

Summary: Learn how to automatically create a Windows PowerShell hash table and extra process data.   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    Hello AC, Microsoft Scripting Guy ...

Learn the Basics of PowerShell Hash Tables

Summary: Microsoft Scripting Guy Ed Wilson covers the basics of hash tables in Windows PowerShell.   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, and ...

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

Feedback usabilla icon