Collecting Inventory with the Stand-Alone VMware Inventory Agent
When you have registered all target VMware servers with the stand-alone VMware inventory agent,
you can run the agent to collect VMware inventory from the registered VMware servers. Follow
these steps:
- Use the following command to run the stand-alone VMware inventory agent. The agent executes, collects inventory from each of the servers
listed in the
esxquery.ini
file, and saves the inventory files (.ndi
) in the output folder specified in theesxquery.ini
file.esxquery.exe -a
The agent runs and displays inventory success messages. The following code shows an example output:C:\Flexera\VCenter Query>esxquery.exe -a servername: found VMware vCenter Server v4.1.0 servername: inventory generated successfully
- Using Windows Explorer, navigate to the output folder (C:\VMwareInventory\Inventories). You should see an
.ndi
file for each of the target ESX servers. Each.ndi
file contains inventory for a target ESX server, as well as all of the virtual machines registered with it.Note: The stand-alone VMware inventory agent also collects inventory for the virtual machines that were switched off during the inventory collection process.