remoteScript.WindowsSmb
Execute script on Windows host via the SMB2 protocol
Type hierarchy: remoteScript.WindowsSmb > remoteScript.BaseSmbHost > remoteScript.RemoteScript > xlrelease.PythonScript > xlrelease.BasePythonScript > udm.BaseConfigurationItem
Label: Windows (SMB)
Properties
Property | Kind | Description |
---|---|---|
customScriptTask | xlrelease.CustomScriptTask (parent) | Custom Script Task |
script | String | Shell script to execute on the remote host |
scriptIgnoreVariableInterpolation | Boolean | If disabled ‘${}’ placeholder will be replaced with variables defined in XLR. Variable interpolation is enabled by default. |
remotePath | String | Path on the remote host where the script will be executed |
output | String | Console output of the process |
err | String | Error stream of the process |
temporaryDirectoryPath | String | Directory in which temporary files are stored. This directory will be cleaned up when the connection is closed. |
jumpstation | remoteScript.Jumpstation | Jumpstation that should be used to reach this host. |
remoteCharacterEncoding | String | The character encoding used to transcode files from one connection to the other |
address | String | Address of the host |
port | Integer | Port on which the Telnet or WinRM server runs |
username | String | Username to connect with |
password | Password | Password to use for authentication |
winrmEnableHttps | Boolean | Enable SSL communication to the WinRM server |
timeout | String | Timeout to use for WinRM messages in XML schema duration format |
winrsAllowDelegate | Boolean | Specifies that the user’s credentials can be used to access a remote share, for example, found on a different machine than the target endpoint (WINRM_NATIVE only) |
smbPort | Integer | Port on which the SMB2 server runs |
pathShareMappings | Map | Mapping from Windows paths to Windows share names, e.g. C:\IBM\WebSphere -> WebSphereShare |
os | Enum | Os |
connectionType | String | Type of CIFS connection to create |
customScriptTask
Custom Script Task
- Label: Custom Script Task
- Kind: xlrelease.CustomScriptTask (parent)
- Required: false
- Reference type: xlrelease.CustomScriptTask
- As containment: true
script
Shell script to execute on the remote host
- Label: Script
- Kind: String
- Size: LARGE
- Required: true
- Category: input
scriptIgnoreVariableInterpolation
If disabled ‘${}’ placeholder will be replaced with variables defined in XLR. Variable interpolation is enabled by default.
- Label: Disable variable interpolation
- Kind: Boolean
- Default value: false
- Required: false
- Category: input
remotePath
Path on the remote host where the script will be executed
- Label: Remote Path
- Kind: String
- Required: false
- Category: input
output
Console output of the process
- Label: Output
- Kind: String
- Required: false
- Category: output
err
Error stream of the process
- Label: Err
- Kind: String
- Required: false
- Category: output
temporaryDirectoryPath
Directory in which temporary files are stored. This directory will be cleaned up when the connection is closed.
- Label: Temporary Directory Path
- Kind: String
- Required: false
- Category: input
jumpstation
Jumpstation that should be used to reach this host.
- Label: Jumpstation
- Kind: remoteScript.Jumpstation
- Required: false
- Category: input
- Reference type: remoteScript.Jumpstation
remoteCharacterEncoding
The character encoding used to transcode files from one connection to the other
- Label: Remote Character Encoding
- Kind: String
- Default value: UTF-8
- Required: true
- Category: input
address
Address of the host
- Label: Address
- Kind: String
- Required: true
- Category: input
port
Port on which the Telnet or WinRM server runs
- Label: Port
- Kind: Integer
- Required: false
- Category: input
username
Username to connect with
- Label: Username
- Kind: String
- Required: true
- Category: input
password
Password to use for authentication
- Label: Password
- Kind: Password
- Password: true
- Required: true
- Category: input
winrmEnableHttps
Enable SSL communication to the WinRM server
- Label: Enable HTTPS for WinRM
- Kind: Boolean
- Default value: false
- Required: false
- Category: input
timeout
Timeout to use for WinRM messages in XML schema duration format
- Label: Timeout
- Kind: String
- Default value: PT60.000S
- Required: true
- Category: input
winrsAllowDelegate
Specifies that the user’s credentials can be used to access a remote share, for example, found on a different machine than the target endpoint (WINRM_NATIVE only)
- Label: Allow credential delegation
- Kind: Boolean
- Default value: false
- Required: false
- Category: input
smbPort
Port on which the SMB2 server runs
- Label: SMB Port
- Kind: Integer
- Default value: 445
- Required: false
- Category: input
pathShareMappings
Mapping from Windows paths to Windows share names, e.g. C:\IBM\WebSphere -> WebSphereShare
- Label: Windows path to Windows share mappings
- Kind: Map
- Required: false
- Category: input
os
Os
- Label: Os
- Kind: Enum
- Allowed values: WINDOWS, UNIX, ZOS
- Default value: WINDOWS
- Required: true
- Category: input
connectionType
Type of CIFS connection to create
- Label: Connection type
- Kind: String
- Default value: WINRM_INTERNAL
- Required: true
- Category: input
Hidden properties
Property | Kind | Description |
---|---|---|
configurationUri | String | URI of the HTML file to render the task for custom script tasks |
maxOutputPropertySize | Integer | Maximum size of output property values of type string. Default value is 32768 |
iconLocation | String | Icon Location |
iconClass | String | Icon Class |
outputVarHelpText | String | Output Var Help Text |
taskColor | String | Task Color |
preconditionEnabled | Boolean | Indicates whether preconditions should be enabled |
failureHandlerEnabled | Boolean | Indicates whether failure handler should be enabled |
scriptLocation | String | Script Location |
tmpDeleteOnDisconnect | Boolean | If true, delete the temporary connection directory when the connection is closed |
tmpFileCreationRetries | Integer | Number of times Overthere attempts to create a temporary file with a unique name |
connectionTimeoutMillis | Integer | Number of milliseconds Overthere waits for a connection to a remote host to be established |
winrmContext | String | Context used by the WinRM server (WINRM only) |
winrmEnvelopSize | Integer | Envelop size for WinRM messages (WINRM only) |
winrmLocale | String | Locale to use for WinRM messages (WINRM only) |
winrmHttpsCertificateTrustStrategy | Enum | HTTPS certifiacte trust strategy for WinRM over HTTPS (WINRM_INTERNAL only) |
winrmHttpsHostnameVerificationStrategy | Enum | HTTPS host name verification strategy for WinRM over HTTPS (WINRM_INTERNAL only) |
winrmKerberosDebug | Boolean | Enable Kerberos debug messages (WINRM only) |
winrmKerberosAddPortToSpn | Boolean | Add the port number (e.g. 5985) to the service principal name (SPN) for which a Kerberos ticket is requested (WINRM_INTERNAL only) |
winrmKerberosUseHttpSpn | Boolean | Use the HTTP protocol in the service principal name (SPN) for which a Kerberos ticket is requested, instead of the default WSMAN protocol (WINRM_INTERNAL only) |
winrsCompression | Boolean | Turn on compression. Older installations on remote machines may not support compression so it is off by default (WINRM_NATIVE only) |
winrsNoecho | Boolean | Specifies that echo should be disabled. This may be necessary to ensure that user’s answers to remote prompts are not displayed locally (WINRM_NATIVE only) |
winrsNoprofile | Boolean | Specifies that the user’s profile should not be loaded. By default the server will attempt to load the user profile. If the remote user is not a local administrator on the target system then this option will be required (the default willresult in error) (WINRM_NATIVE only) |
winrsUnencrypted | Boolean | Disable encryption. Requires the remote host to have been configured to allow that (WINRM_NATIVE only) |
protocol | String | Protocol |
configurationUri
URI of the HTML file to render the task for custom script tasks
- Key:
remoteScript.WindowsSmb.configurationUri
- Kind: String
- Default value:
- Hidden: true
maxOutputPropertySize
Maximum size of output property values of type string. Default value is 32768
- Key:
remoteScript.WindowsSmb.maxOutputPropertySize
- Kind: Integer
- Default value: 32768
- Hidden: true
iconLocation
Icon Location
- Key:
remoteScript.WindowsSmb.iconLocation
- Kind: String
- Default value:
- Hidden: true
iconClass
Icon Class
- Key:
remoteScript.WindowsSmb.iconClass
- Kind: String
- Default value:
- Hidden: true
outputVarHelpText
Output Var Help Text
- Key:
remoteScript.WindowsSmb.outputVarHelpText
- Kind: String
- Default value: The output of the script can be stored in release variables; specify the variables to be used (optional)
- Hidden: true
taskColor
Task Color
- Key:
remoteScript.WindowsSmb.taskColor
- Kind: String
- Default value: #009CDB
- Hidden: true
preconditionEnabled
Indicates whether preconditions should be enabled
- Key:
remoteScript.WindowsSmb.preconditionEnabled
- Kind: Boolean
- Default value: true
- Hidden: true
failureHandlerEnabled
Indicates whether failure handler should be enabled
- Key:
remoteScript.WindowsSmb.failureHandlerEnabled
- Kind: Boolean
- Default value: true
- Hidden: true
scriptLocation
Script Location
- Key:
remoteScript.WindowsSmb.scriptLocation
- Kind: String
- Default value: remoteScript/RemoteScriptWrapper.py
- Hidden: true
tmpDeleteOnDisconnect
If true, delete the temporary connection directory when the connection is closed
- Key:
remoteScript.WindowsSmb.tmpDeleteOnDisconnect
- Kind: Boolean
- Default value: true
- Category: input
- Hidden: true
tmpFileCreationRetries
Number of times Overthere attempts to create a temporary file with a unique name
- Key:
remoteScript.WindowsSmb.tmpFileCreationRetries
- Kind: Integer
- Default value: 1000
- Category: input
- Hidden: true
connectionTimeoutMillis
Number of milliseconds Overthere waits for a connection to a remote host to be established
- Key:
remoteScript.WindowsSmb.connectionTimeoutMillis
- Kind: Integer
- Default value: 120000
- Category: input
- Hidden: true
winrmContext
Context used by the WinRM server (WINRM only)
- Key:
remoteScript.WindowsSmb.winrmContext
- Kind: String
- Default value: /wsman
- Category: input
- Hidden: true
winrmEnvelopSize
Envelop size for WinRM messages (WINRM only)
- Key:
remoteScript.WindowsSmb.winrmEnvelopSize
- Kind: Integer
- Default value: 153600
- Category: input
- Hidden: true
winrmLocale
Locale to use for WinRM messages (WINRM only)
- Key:
remoteScript.WindowsSmb.winrmLocale
- Kind: String
- Default value: en-US
- Category: input
- Hidden: true
winrmHttpsCertificateTrustStrategy
HTTPS certifiacte trust strategy for WinRM over HTTPS (WINRM_INTERNAL only)
- Key:
remoteScript.WindowsSmb.winrmHttpsCertificateTrustStrategy
- Kind: Enum
- Allowed values: STRICT, SELF_SIGNED, ALLOW_ALL
- Default value: STRICT
- Category: input
- Hidden: true
winrmHttpsHostnameVerificationStrategy
HTTPS host name verification strategy for WinRM over HTTPS (WINRM_INTERNAL only)
- Key:
remoteScript.WindowsSmb.winrmHttpsHostnameVerificationStrategy
- Kind: Enum
- Allowed values: STRICT, BROWSER_COMPATIBLE, ALLOW_ALL
- Default value: STRICT
- Category: input
- Hidden: true
winrmKerberosDebug
Enable Kerberos debug messages (WINRM only)
- Key:
remoteScript.WindowsSmb.winrmKerberosDebug
- Kind: Boolean
- Default value: false
- Category: input
- Hidden: true
winrmKerberosAddPortToSpn
Add the port number (e.g. 5985) to the service principal name (SPN) for which a Kerberos ticket is requested (WINRM_INTERNAL only)
- Key:
remoteScript.WindowsSmb.winrmKerberosAddPortToSpn
- Kind: Boolean
- Default value: false
- Category: input
- Hidden: true
winrmKerberosUseHttpSpn
Use the HTTP protocol in the service principal name (SPN) for which a Kerberos ticket is requested, instead of the default WSMAN protocol (WINRM_INTERNAL only)
- Key:
remoteScript.WindowsSmb.winrmKerberosUseHttpSpn
- Kind: Boolean
- Default value: false
- Category: input
- Hidden: true
winrsCompression
Turn on compression. Older installations on remote machines may not support compression so it is off by default (WINRM_NATIVE only)
- Key:
remoteScript.WindowsSmb.winrsCompression
- Kind: Boolean
- Default value: false
- Category: input
- Hidden: true
winrsNoecho
Specifies that echo should be disabled. This may be necessary to ensure that user’s answers to remote prompts are not displayed locally (WINRM_NATIVE only)
- Key:
remoteScript.WindowsSmb.winrsNoecho
- Kind: Boolean
- Default value: false
- Category: input
- Hidden: true
winrsNoprofile
Specifies that the user’s profile should not be loaded. By default the server will attempt to load the user profile. If the remote user is not a local administrator on the target system then this option will be required (the default willresult in error) (WINRM_NATIVE only)
- Key:
remoteScript.WindowsSmb.winrsNoprofile
- Kind: Boolean
- Default value: false
- Category: input
- Hidden: true
winrsUnencrypted
Disable encryption. Requires the remote host to have been configured to allow that (WINRM_NATIVE only)
- Key:
remoteScript.WindowsSmb.winrsUnencrypted
- Kind: Boolean
- Default value: false
- Category: input
- Hidden: true
protocol
Protocol
- Key:
remoteScript.WindowsSmb.protocol
- Kind: String
- Default value: smb
- Hidden: true