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

Re: output variables to excel spreadsheet.

$
0
0

Hello, -

 

It looks like the reason that you might not be getting any output is the placement of your Export-Csv line in the script.  Try moving the following line to the very end (after the last "}}}" which eventually close the first foreach statement script block):

 

$report | Export-CsvESXiStorageWWN.csv-NoTypeInformation-UseCulture

 

There are a few things going on there, but moving that Export-Csv line outside of the foreach statement should help with the "no output file generated" problem.  Does it?


Viewing all articles
Browse latest Browse all 230336

Trending Articles



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