1. Page 1
Part2
1. fileCopyFromVCO
1.1. Versions
Version Date User Comment
Current version:0.0.1
1.2. Inputs
Name Type Description
vcoPath string Path on vCO server
guestFilePath string Guest file path
1.3. Attributes
Name Type Description
username string GuestOS username
password SecureString GuestOS password
overwrite boolean Overwite file in GuestOS (boolean)
vm1 VC:VirtualMachine VirtualMachine GuestOS
result boolean Set to true if copy operation was
successful
1.4. Parameter presentation
Parameter Description Parameter Info
vcoPath Path on vCO server
guestFilePath Guest file path
1.5. Workflow schema
fileCopyFromVCO
vCO Workflow Documentation - Sep 12, 2013
2. Page 2
1.6. Workflow items
Name Type Next item Description
WorkflowItemEnd
Copy file
from vCO to
guest
WorkflowItemLink Copies the specified file from
the vCO server to the guest file
system.
1.7. Source code for the used actions
2. runScriptWindows
2.1. Versions
Version Date User Comment
Current version:0.0.1
2.2. Inputs
Name Type Description
workingDirectory string The absolute path of the working
directory for the program to be
run. VMware recommends explicitly
setting the working directory for
the program to be run.
2.3. Attributes
Name Type Description
vmUsername string Username for the virtual machine
runScriptWindows
vCO Workflow Documentation - Sep 12, 2013
3. Page 3
Name Type Description
vmPassword SecureString Password for the virtual machine
vm VC:VirtualMachine Virtual machine
interactiveSession boolean This is set to true if the client
wants an interactive session in the
guest.
result number The pid of the program started.
programPath1 string The absolute path to the program to
start. For Linux guest operating
systems, /bin/bash is used to start
the program.
arguments1 string The arguments to the program.
environment1 Array/string An array of environment variables,
specified in the guest OS notation
2.4. Parameter presentation
Parameter Description Parameter Info
runScriptWindows
vCO Workflow Documentation - Sep 12, 2013
4. Page 4
Parameter Description Parameter Info
workingDirectory The absolute path
of the working
directory for the
program to be run.
VMware recommends
explicitly setting
the working
directory for the
program to be run.
If this value is
unset or is an
empty string, the
behavior depends on
the guest operating
system. For Linux
guest operating
systems, if this
value is unset or
is an empty string,
the working
directory will be
the home directory
of the user
associated with the
guest
authentication. For
other guest
operating systems,
if this value is
unset, the behavior
is unspecified.
2.5. Workflow schema
runScriptWindows
vCO Workflow Documentation - Sep 12, 2013
5. Page 5
2.6. Workflow items
Name Type Next item Description
WorkflowItemEnd
Run program
in guest
WorkflowItemLink Starts a program in the guest
operating system.
A process started this way can
have its status queried with
this API. When the process
completes, its exit code and end
time will be available for 5
minutes after completion.
2.7. Source code for the used actions
runScriptWindows
vCO Workflow Documentation - Sep 12, 2013