Windows Command adapter
The Windows Command adapter is used to execute commands on a remote host running the Windows operating system.
This adapter must be enabled on a Windows-based system.
The Windows Command adapter can use the following common features. For details about these features, see Base adapter features.
- Command Attributes: working-dir, command-dir, timeout-secs
- FAT commands--command attributes:
- encryption-type
- disable-line-termination
- is-special-character
- os-id
- os-version
- Password Attribute: encryption-type
- Multiple Configuration nodes
- Dynamic Targets
The Windows Command adapter can copy and execute scripts on a remote computer. The adapter uses a utility, xCmd, to execute a command on a Windows-based remote host. The utility then returns the results to the user.
The Windows Command adapter does not utilize the xCmd utility in the following cases:
- When you specify an empty configuration and you do not specify a dynamic target in the adapter request
- When you do not specify a host in the <target> block of the adapter configuration or the <host> tag in the dynamic target request
If you specify 127.0.0.1 or the host name of the local computer, the adapter uses the xCmd utility for executing the commands.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*