Automation Workshop includes Execute Script Action which, besides supporting other scripting formats, can execute PowerShell scripts automatically. The PowerShell examples are aimed at giving the user a rather general idea how to streamline scripts into automated processes.
The data communication with other scripts is based on screen output. The screen output of the script can be retrieved by using Variable Wizard from subsequent Execute Script Action. It is possible to retrieve either full screen output or any of the first six output lines separately.
$text = "Hello world!"
[Console]::OutputEncoding = [Text.Encoding]::Unicode
# Unicode is now enabled!
$text = "Hello wörld!"
$text = $text.ToUpper()
$insertthis = "Unicode "
$text = $text.Insert( 6 , $insertthis )
# Output: HELLO Unicode WÖRLD!
For PowerShell scripts using Unicode, it is recommended to use version 1.0 or 2.0 option instead of Default (see Options tab to change PowerShell version).
If you have any questions, please do not hesitate to contact our support team.