View Single Post
Old 08-08-2007   #2 (permalink)
Marco Shaw
Guest


 
 

Re: Import-CSV from Web/Variable

Luke wrote:
> At the moment, the import-csv command only allows for importing a local CSV
> file (at least to my knowledge). However, I need to be able to pull a file
> off the web (using a System.Net.WebClient object) and then import that data
> straight into PS. I've tried passing data into a variable first and using
> "variable = [csv]data" (the latter turned out to only work for XML). Is there
> any sort of advanced method I'm missing out on or is this just impossible at
> the moment?


Check this out as an example:
http://powergadgets.com/csPg/forums/thread/185.aspx

Marco
My System SpecsSystem Spec