VMware Inventory

<< Click to Display Table of Contents >>

RayVentory Scan Engine > 12.6 u4 > User Guide > Command-Line Tools 

VMware Inventory

RV-VM-Console (RayVentory.VM.Console.exe) is a command-line oriented tool for generating inventories from vSphere / ESX hosts using VMware’s restful management API. You may specify a single target on the command-line. If no target has been specified on the command-line then it will target all vSphere / ESX hosts that RVP knows.

 

If the the target is a vSphere cluster then VM-Console will create an NDI file for each ESX host in the cluster.

 

The command-line arguments are passed to RIW as name-value pairs. Flags are set by their name.

 

Usage

RayVentory.VM.Console.exe [-o <argument-name>=<value>]...

 

Table of Arguments and Flags

 

Name

Type

Description

auth

BOOLEAN

Its entered connection data will be saved.

basepath

TEXT

Path to store configuration files and results unless vsphereoutput was specified.

DeviceID

TEXT

RMS / RV network device ID for inventory binding.

encryptionKey

TEXT

Key for encryption and decryption of credentials.

help

FLAG

RMS / RV network device ID for inventory binding.

ignoreSSL

BOOLEAN

Ignore SSL / TLS connection warnings.

job

TEXT

Job tag / ID (this is supposed to be used by Raynet's inventory / discovery agents, only).

password

TEXT

Password of the user for authentication.

upload

TEXT

URL for uploading the result.

url

TEXT

The targets seb service URL. Usualy it has the form of https://myTargetHost/sdk.

user

TEXT

Name of the user for authentication.

vsphereconnections

TEXT

Filename for the vSphere connections file.

vsphereoutput

TEXT

Path for the output of the vSphere inventory.

 

Privileges

The RV VM Console needs a user with read privileges on the whole object tree of the vSphere infrastructure or ESX host. Depending on the permissions set, the user may need special permissions to extract sensitive details like the serial number / license key.

 

Ports in Use

80(443) for communication with VMware‘s management API via HTTP(S) and for HTTP(S) upload to the data sink.