PowerShell adapter
Use the PowerShell base adapter to execute PowerShell commands on remote host computers running Microsoft Windows PowerShell.
The Microsoft Windows PowerShell base adapter consists of an actor adapter only. There is no monitor adapter for the PowerShell
The actor adapter for Microsoft Windows PowerShell provides operations that use the PowerShell command-line interface to execute commands. The actor adapter for Microsoft Windows PowerShell supports the following command attributes:
- Multiple-configuration-nodes
- Dynamic-targets
- FAT-commands-to-enable-platform-independence--Command attributes:
- timeout-secs
- continue-on-failure
- ignore-response
- working- dir
- os-id
- os-version
- Command-encryption
- Password-encryption
- Multiple commands in a remote session
The actor adapter for Microsoft Windows PowerShell does not support the following command attributes:
- command-dir
- is-special-character
- Proxy commands
- Verification of OS
Before executing a script file or a console file for working-dir, prepend ./ before the script file name.
Example:samplescript.ps1 must be executed as ./samplescript.ps1.
The value for working-dir must not end with a backslash, however two backslashes are permitted.
Example:work-dir="c:\tempdir " or work-dir="c:\tempdir\\"
Example:samplescript.ps1 must be executed as ./samplescript.ps1.
The value for working-dir must not end with a backslash, however two backslashes are permitted.
Example:work-dir="c:\tempdir " or work-dir="c:\tempdir\\"
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*