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.

RequiredAttribute nameDescriptionValue Type
NoSYSTEM.LogModeDefines the way logging is handledEither ‘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:

RequiredAttribute nameDescriptionValue Type
YesSERVER.ipThe IP address (or host name) of the serverIP address or hostname
YesSERVER.userThe Windows user name of the account on the serverFree text
YesSERVER.domainThe Windows domain of the server (can be computername for a non-domain server)Free text
YesSERVER.passwordThe password of the account on the serverFree text

3.3 Task Attributes

The following task attributes are supported:

RequiredAttribute nameDescriptionValue Type
YesTASK.scriptMethodThe script method to useEither ‘RUN’ or ‘EXEC’
YesTASK.actionThe type of action (executable) to call on the serverEither ‘CMD’ or ‘POWERSHELL’
YesTASK.commandThe actual command to execute on the server, for example ‘dir c:\’Free text
Yes (1)TASK.validationModeThe mode to use to validate the result of the executionEither ‘NONE’, ‘NO_ERROR_OUTPUT’ or ‘MATCH_OUTPUT_VALUE’
No (2)TASK.validationValueThe value to check for in the outputFree 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’