PowerTip: Creating an Empty Hash Table

The Scripting Guys

Dr

Summary:  Learn to create a Windows PowerShell hash table.

Hey, Scripting Guy! Question How can I create an empty hash table?

Hey, Scripting Guy! Answer Use @{} and assign it to a variable:

            $hash = @{}

The Scripting Guys
Dr Scripto

Follow Dr   

No Comments.