vmrest command-line tool¶
The vmrest command-line tool (vmrest.exe) is the executable interface for the VMware Workstation Pro REST API.^[600-developer-tools-vmware-workstation-pro-rest-api-service.md]
Usage¶
To provide the HTTP service for the API, the vmrest command is executed in a terminal window.^[600-developer-tools-vmware-workstation-pro-rest-api-service.md]
Configuration¶
Credentials for the service are managed using the -C flag. When this option is used, the tool prompts for a username and a new password to update the login credentials for the REST API service^[600-developer-tools-vmware-workstation-pro-rest-api-service.md]. The process requires the password to be entered twice for confirmation^[600-developer-tools-vmware-workstation-pro-rest-api-service.md].
Example¶
The following output demonstrates the credential update process:
C:\Program Files (x86)\VMware\VMware Workstation>vmrest.exe -C
[VMware Workstation REST API](<./vmware-workstation-rest-api.md>)
Copyright (C) 2018-2021 VMware Inc.
All Rights Reserved
vmrest 1.2.1 build-17801498
Username:tommy
New password:
New password:
Retype new password:
Processing...
Credential updated successfully
Sources¶
600-developer-tools-vmware-workstation-pro-rest-api-service.md