Categories
October Surprise 2024

Everything you wanted to know about hashtables – PowerShell

There are a couple of ways to make a deep copy of a hashtable (and keep it as a hashtable). Here’s a function using PowerShell to recursively create a deep copy: