This took me a little while to get sorted as I had a gap in my PowerShell
knowledge around the handling and formating of nested objects. A bit of
exploration with get-member and I came up witha working script. It's based on a
post [http://www.peetersonline.nl/index.php/