Support IDM Windows Shell Connector
1. Overview
This connector provides a way to execute commands on remote Windows servers.
2. Usage
There is just one custom connector class implementation: com.fasers.idm.ic.shell.ToWindowsShell
3. Attributes
3.1 System Attributes
There is one general system attribute.
Required | Attribute name | Description | Value Type |
---|---|---|---|
No | SYSTEM.LogMode | Defines the way logging is handled | Either ‘NORMAL’, ‘ALL_TO_ERROR’ or ‘SYSOUT’, defaults to ‘NORMAL’ |
3.2 Server Attributes
There are a few attributes related to the server connection.
The following system attributes are supported:
Required | Attribute name | Description | Value Type |
---|---|---|---|
Yes | SERVER.ip | The IP address (or host name) of the server | IP address or hostname |
Yes | SERVER.user | The Windows user name of the account on the server | Free text |
Yes | SERVER.domain | The Windows domain of the server (can be computername for a non-domain server) | Free text |
Yes | SERVER.password | The password of the account on the server | Free text |
3.3 Task Attributes
The following task attributes are supported:
Required | Attribute name | Description | Value Type |
---|---|---|---|
Yes | TASK.scriptMethod | The script method to use | Either ‘RUN’ or ‘EXEC’ |
Yes | TASK.action | The type of action (executable) to call on the server | Either ‘CMD’ or ‘POWERSHELL’ |
Yes | TASK.command | The actual command to execute on the server, for example ‘dir c:\’ | Free text |
Yes (1) | TASK.validationMode | The mode to use to validate the result of the execution | Either ‘NONE’, ‘NO_ERROR_OUTPUT’ or ‘MATCH_OUTPUT_VALUE’ |
No (2) | TASK.validationValue | The value to check for in the output | Free text |
(1) For script method ‘RUN’ only validation mode ‘NONE’ is supported, since there is no way to gather feedback for a RUN task (2) Validation value is required only when validation mode has value ‘MATCH_OUTPUT_VALUE’