script question

rated by 0 users
This post has 5 Replies | 2 Followers

Top 25 Contributor
Posts 123
JakeS Posted: 03-27-2012 1:31 PM | Locked

Not a good powershell script idea, closing question

Top 10 Contributor
Posts 640

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?

Top 25 Contributor
Posts 123

Thank you, closing this out.

Top 10 Contributor
Posts 640

So...

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.

Top 25 Contributor
Posts 123

That was helpful, thanks.

Top 25 Contributor
Posts 123

I'll tackle this someday, not important now.

Page 1 of 1 (6 items) | RSS
Copyright 2012 PowerShell.com. All rights reserved.