Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 236824

Re: VM List on conditions to be generated.

$
0
0

LucD wrote:

 

Do you also get those blank lines when you change the last line to

$allvms | Export-Csv "D:\temp\computers.csv" -NoTypeInformation -UseCulture

Yes, I get the same thing. I was using -NoTypeInformation previously, but that just eliminates the top row.

 

I can't copy and paste the results into here as it seems the editor window is too smart and removes the extra line, but it shows in notepad and wordpad.

 

The difference obivously are the header lines between out-file and export-csv.

 

Geoff


Viewing all articles
Browse latest Browse all 236824

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>