Does PowerShell support HashTable Serialization?

Question:

If I want to write an object / HashTable to disk and load it up again later does PowerShell support that?

Answer:

Sure, you can use PowerShell’s native CliXml format:


Deserialize with Import-CliXml:

Source:

Does PowerShell support HashTable Serialization? by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply