Page tree

The Windows Command adapter is used to execute commands on a remote host running the Windows operating 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

Notes

  • The Windows Command adapter works only on peers that are running on a Windows-based computer.
  • To use the Windows Command adapter, the remote host must also be a Windows-based computer.

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.