VMware vSphere

 View Only
Expand all | Collapse all

Global Inventory Lists - Virtual Machines - EXPORT (Automate)

  • 1.  Global Inventory Lists - Virtual Machines - EXPORT (Automate)

    Posted Feb 03, 2023 09:34 PM

    Hello. New here so I'm hoping I'm posting in the right place.

    Everyday I manually download .csv file of all Virtual Machines via process described here: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vcenterhost.doc/GUID-C0E8DD52-677E-464F-A3EA-044EE20B7B92.html

    I'm currently looking to automate this process. I tried REST API using python, but that only gets vm name, cpu, mem, vm id. Searching on the internet I found that people are using PowerCLI to automate this. But I'm doing this on linux (without gui) server. Is there a way to automate this without PowerCLI, at least just to download that .csv file directly on my server via some script? Than I can manipulate it later using python and get what I want.

    Version of vsphere is 7.



  • 2.  RE: Global Inventory Lists - Virtual Machines - EXPORT (Automate)

    Posted Oct 27, 2023 05:02 PM

    Bumping this, I'm interested in a way to automate this too.