Command Execution operators let you run shell scripts or executable programs on any agent or Orchestrator. This category provides data and resource access to network devices that support the Telnet and SSH (Secure Shell) interface protocols.
The list of operators follows:
If you are running scripts, follow the Windows or UNIX operating system conventions to make them executable. In CA Process Automation, scripts return result as CA Process Automation dataset variables.
#!/bin/sh
Specifies to execute using sh, the Bourne shell on systems such as Oracle Solaris. On Linux systems, this entry is a link to another shell, such as bash. A Script operator can execute any script for which the target host has an interpreter.
Wrap Shell commands such as cp or dir in an executable script file.
#!/usr/bin/perl
When placed at the top of a Perl script, tells the web server where to find the Perl executable.
*.ps1
A Windows PowerShell file.
*.exe
An executable file that installs and runs programs and routines.
*.cmd
A batch file that is composed of a sequence of commands; similar to a .BAT file, but run by the CMD.exe program rather than the COMMAND.com program.
*.vbs
VBScript file.
*.wsh
A Windows Script Host text file with parameters for a script such as a .vbs file; requires Microsoft WScript or Microsoft CScript to open the file.
Copyright © 2014 CA.
All rights reserved.
|
|