Sie können die 'guestinfo'-Variable verwenden, um Informationen wie Versionsbeschreibung, Versionszeichenfolge, Build-Nummer und so weiter abzufragen.
Befehl | Beschreibung |
---|---|
Windows-Gast: vmtoolsd --cmd "info-get guestinfo.vmtools.description" rpctool.exe "info-get guestinfo.vmtools.description" Linux-Gast: vmtoolsd --cmd "info-get guestinfo.vmtools.description" vmware-rpctool "info-get guestinfo.vmtools.description" |
Gibt die Versionsbeschreibung aus. |
Windows-Gast: vmtoolsd --cmd "info-get guestinfo.vmtools.versionString" rpctool.exe "info-get guestinfo.vmtools.versionString" Linux-Gast: vmtoolsd --cmd "info-get guestinfo.vmtools.versionString" vmware-rpctool "info-get guestinfo.vmtools.versionString" |
Gibt die Versionszeichenfolge aus. |
Windows-Gast: vmtoolsd --cmd "info-get guestinfo.vmtools.versionNumber" rpctool.exe "info-get guestinfo.vmtools.versionNumber" Linux-Gast: vmtoolsd --cmd "info-get guestinfo.vmtools.versionNumber" vmware-rpctool "info-get guestinfo.vmtools.versionNumber" |
Gibt die Versionsnummer aus. |
Windows-Gast: vmtoolsd --cmd "info-get guestinfo.vmtools.buildNumber" rpctool.exe "info-get guestinfo.vmtools.buildNumber" Linux-Gast: vmtoolsd --cmd "info-get guestinfo.vmtools.buildNumber" vmware-rpctool "info-get guestinfo.vmtools.buildNumber" |
Gibt die Build-Nummer aus. |
Windows-Gast: vmtoolsd --cmd "info-get guestinfo.toolsInstallErrCode" rpctool.exe "info-get guestinfo.toolsInstallErrCode" Linux-Gast: vmtoolsd --cmd "info-get guestinfo.toolsInstallErrCode" vmware-rpctool "info-get guestinfo.toolsInstallErrCode" |
Gibt den Fehlercode der letzten VMware Tools-Installation aus.
Hinweis: Die Installation und das Upgrade von VMware Tools unter Windows erfordern mehrere Neustarts des Gastbetriebssystems, damit die Änderungen wirksam werden. Wenn kein Neustart stattgefunden hat, wird die guestinfo-Variable
guestinfo.toolsInstallErrCode auf 3010 festgelegt.
|
Windows-Gast: vmtoolsd --cmd "info-get guestinfo.driver.[driver name].version" rpctool.exe "info-get guestinfo.driver.[driver name].version" Linux-Gast: vmtoolsd --cmd "info-get guestinfo.driver.[driver name].version" vmware-rpctool "info-get guestinfo.driver.[driver name].version" |
Meldet die ausgeführte Version des Treibers. Beispiel: vmtoolsd --cmd "info-get guestinfo.driver.pvscsi.version" gibt |
Windows-Gast: vmtoolsd --cmd "info-get guestinfo.ip" rpctool.exe "info-get guestinfo.ip" Linux-Gast: vmtoolsd --cmd "info-get guestinfo.ip" vmware-rpctool "info-get guestinfo.ip" |
Meldet die IP-Adresse des Gastbetriebssystems. |
Windows-Gast: vmtoolsd --cmd "info-get guestinfo.appInfo" rpctool.exe "info-get guestinfo.appInfo" Linux-Gast: vmtoolsd --cmd "info-get guestinfo.appInfo" vmware-rpctool "info-get guestinfo.appInfo" |
Meldet Informationen über Anwendungen, die im Gastbetriebssystem ausgeführt werden. |
vmtoolsd --cmd "info-set guestinfo.foo bar