If the above is what your string data looks like, then you might want to look into using the ConvertFrom-StringData cmdlet to get it into hashtable form.
Thanks for your reply. The Contents of my hash table are sitting in an external file.
Short of typing the contents (rather long, about 500 entries) of that file into my PS script, I would like to know if those contents can be read into a variable as described in my initial post.
Many thanks Mr Sallow. I have just tried it and it works beautifully. The documentation suggests the command can do a lot more, I’m happy to have come across this piece of know-how.