Powershell execution

Powershell execution

Hello guys,

I have a problem with powershell execution in workflow
Any script that i running i receive the following error:


Executed. C:\ManageEngine\EventLog : The term 'C:\ManageEngine\EventLog' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + C:\ManageEngine\EventLog Analyzer\data\imworkflow\script\163000616497 ... + ~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\ManageEngine\EventLog:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException Success



What could i be doing wrong?

You have a example that how i can make a workflow andpass variables to powershell script?

Thanks