Categories October Surprise 2024 Everything you wanted to know about hashtables – PowerShell Post author By Post date October 30, 2025 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: