Not a good powershell script idea, closing question
So, that's kind of a lot of data and script for me to pore through - is there a specific question you're looking to have answered? Like, "how do I do ___ in PowerShell?" Where are you stuck, here?
Thank you, closing this out.
Import-CSV filename.csv | Export-CliXML filename.vre
Is what you're basically asking. That's a very plain XML format; if you need something specific in terms of XML layout, you'd need to write a custom export function. That's kinda semi-advanced in terms of programming PowerShell. But this will use whatever column headers are in the CSV to construct the XML elements.
That was helpful, thanks.
I'll tackle this someday, not important now.