A small tool used to export VM list from VMWAREvCenter
into the Excel spreadsheet.
The export functionality in the vCenter
itself, exports all VMs into a csv
file, which needs to be processed.
This tool aims to ease this export procedure, by exporting (all
or filtered by name
) VM into a nicely formatted Excel file.
Download vmex
binary for your OS from the releases page.
Run the binary with the appropriate flags, as shown in the example below.
host
-vCenter
host urluser
-vCenter
usernamepass
-vCenter
passwordfilter
(optional) - comma delimited string which will be used to filter out VM namespath
(optional) - the path and filename where the report will be saved
vmex -host "https://vcenter.host.local" -user "[email protected]" -pass "xxxxxxxx" -filter "web" -path web_server_vms.xlsx