Cisco Cisco Process Orchestrator 3.1 User Guide

Page of 786
 
13-227
Cisco Process Orchestrator 3.1 User Guide
 
Appendix 13      Using Adapters
  Windows Adapter
Step 2
Click the Inputs tab to continue and in the Destination field, enter the host name.
Step 3
Click Save on the toolbar to save the activity properties.
Viewing Results
Click the instance display-only tab to view the results of the DNS server test and troubleshoot for the 
activity. See also, 
.
Defining the Execute Windows Command Activity
Use the Execute Windows Command activity to specify a Windows command and the target directory 
on which to execute that command.
Note
To ensure this Windows activity executes properly, verify that the Remote Registry service is enabled on 
your machine. 
Step 1
In the Process Editor Toolbox, choose Microsoft Windows > Execute Windows Command and drag 
and drop the activity onto the Workflow pane.
Step 2
Click the Command tab to define the properties specific to the activity, including:
  •
Command line to execute on target—The actual command line to use to execute an activity on the 
specified local working directory on the Windows target computer. For example:
If the local working directory is C:\program files and the command is myapppath\app.exe, then the 
full path is:
C:\program files\myapppath\app.exe
  •
Local working directory on target—Enter the path to the local working directory on the Windows 
target where the command will be executed.
  •
Wait for command to complete or time out in—Enter a value or use the scroll buttons to specify the 
time frame to wait for the action to complete.
Note
Select the time unit link to adjust the time unit (seconds, minutes, or hours).
  •
Fail on non-zero return code—Check this check box to configure the activity to fail when a return 
code having a non-zero value is received.
Step 3
Complete the appropriate information in the remaining tabs as necessary, then click Save to complete 
the activity definition.
Viewing Results
Click the instance display-only tab to view the Windows command and the target directory on which the 
command was executed. See also, 
.