You can use the guestinfo variables to query information such as version and build information.

For guestinfo samples related PowerCLI scripts, see PowerCLI-Example-Scripts

Table 1. guestinfo variables for VMware Tools

Variable Name

Description

guestinfo.vmtools.description

Reports version description.

guestinfo.vmtools.versionString

Reports version string.

guestinfo.vmtools.versionNumber

Reports version number.

guestinfo.vmtools.buildNumber

Reports build number.