PowerCLI performance vs clicking 'Export' button in vsphere UI.

This post was originally published on this site

Hello!

I’m in the process of trying to automate some report gathering and data massaging that I’ve been tasked to do.  This has led me down the road into PowerCLI, and many posts and answers (especially LuciD’s) have been very helpful! While I have several tasks that are pulling specific information about my cluster’s health, etc – I’ve been asked to automate the ‘Export’ button.  I have a bit over 1800 machines in the cluster, and the ‘export’ button takes about half a second to generate what I’m looking for – but the same report (still missing a few columns, I’m a total newb) takes HOURS to run.  Am I missing something?  

If someone has figured out an efficient way to create this .csv file progmramatically? 

 

Thank you in advance,

Ewing

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.