Skip to main content

Task VMWare - [Guest] File Exists​

The VMWare - [Guest] File Exists Task checks whether a file exists in the guest operating system.

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

With Remote VMWare server, this Task needs a VMWare Connection with the Authentication type "Vix"; "vSphere" and "vSphere 7" do not support it (see Connection support). See also Connection - VMWare.

Connection sub tab​

Connection sub tab of the VMWare Guest File exists Task, with the Remote VMWare server and Local VMWare workstation options, Guest OS Credentials and the timeout

The Connection sub tab is the same for every VMWare Task; see Start VM for each field.

Guest OS Credentials is required: select the Credential of a user account inside the virtual machine. Before it signs in, the Task waits up to 60 seconds for VMware Tools to run in the guest, whatever the timeout says. It signs in with the VMware option that requires an interactive session, so that user must be signed in to the guest desktop.

VM Task settings sub tab​

VM Task settings sub tab of the VMWare Guest File exists Task, with the File path field

  • File path: the full path of the file to look for in the guest. Variables are replaced in this field

Output and errors​

The output is "True" when the file exists and "False" when it does not; the Task succeeds in both cases. When VMware reports an error, the Task fails.