Ravi, @ravin
You should save your script file as txt, use Read Text File activity to read the file content and pass it as CommandText into Invoke Power Shell. You also need check IsScript checkbox under Misc.
InvokePS.zip (1.4 KB)
Ravi, @ravin
You should save your script file as txt, use Read Text File activity to read the file content and pass it as CommandText into Invoke Power Shell. You also need check IsScript checkbox under Misc.
InvokePS.zip (1.4 KB)