VMware Cloud Community
TomKristenHanse
Contributor
Contributor

Automatic content export to CSV file

I have the need to do an content export to CSV file of our environment every month (nodes, hosts & clusters), to keep track on usage.

Is there a way to do this automatically, eventually command line access from an Linux host? As for now I have to do this manually every

month via vSpere web client, which is a bit too much manually..

To information, I do not have administrator rights, but only operator access in our wmware environment.

0 Kudos
5 Replies
Alex_Romeo
Leadership
Leadership

Hi,

you can follow this article which explains well how to proceed:

Here it shows much more than what you need, but you can limit yourself to what you need.

ARomeo

P.S: “get-vm” and “Select-Object”

Blog: https://www.aleadmin.it/
0 Kudos
TomKristenHanse
Contributor
Contributor

ARomeo,

Thanks a lot for you guidance!

Do you know if there are an Unix/Linux alternative?

My scope is to set up an automated inventory dump from vmware to feed into a central inventory base..

/Tom Kristen

0 Kudos
KabirAli82
Expert
Expert

I would recommend you Alan Renoufs vCheck;

http://www.virtu-al.net/vcheck-pluginsheaders/vcheck/

GitHub - alanrenouf/vCheck-vSphere: vCheck Daily Report for vSphere

Its not Unix/Linux based tho...


Was I helpful? Give a kudo for appreciation!
Braindumping @ http://kablog.nl/
Tweeting @ https://twitter.com/_Kabir_Ali_
0 Kudos
sjesse
Leadership
Leadership

Look at this, I recently only became aware of it as well, its not a csv but provideds a pretty comprehensive report of how things are setup

GitHub - tpcarman/As-Built-Report: A collection of PowerShell scripts to generate as built reports o...

0 Kudos
sjesse
Leadership
Leadership

You can install powercli in linux