Hello Everyone,
I have tried this code with no success.
I get this error message at the start of "string acc =" code:
Error 1 A namespace cannot directly contain members such as fields or methods
Not exactly sure why but what I can tell you is that I have installed and tested the commands I have on the workflow server and they work as expected. So I don't really need to call these commands to a different machine. I'm just looking for a way to pass a simple Powershell command from workflow using some tokens and get it executed. Can anyone help me? I can create the commands in Workflow easily, I just need a way to execute them from Workflow.
Thank you!