Hi Akhilesh,
We're in the right place. The fn_utilities.utilities_shell_command function will allow you to run powershell commands.
The syntax is a bit awkward, so I'll explain. In your app.config file, you'll identify the powershell command and the host(s) you want to run. The syntax will follow this pattern:
[fn_utilities]
<your host label>=(user:pass@server)
<your script label>=[remote path to script]
ex.
[fn_utilities]
machineA=(login1:password1@10.20.30.40)
getFile=[/path/to/powershell.ps]
Then, in your workflow with this function, your arguments will be:
shell_command: getFile:machineA
shell_remote: Yes
shell_param1: /Example/test.txt
This is assuming your powershell script accepts an argument for the file to list.
Good luck.
------------------------------
Mark Scherfling
------------------------------