Cannot run program "powershell"
2013-11-06 11:20 PM
As, I have upgraded the PowerShell version to 3.0. I am unable to run WFA workflow as I am getting the following error
Failed executing command: $Uri = @($input) ; C:\Program` Files\NetApp\WFA\jboss\..\PoSH\profile.ps1;Invoke-WfaScript -Script 'Test-CredentialSecure -Ip 10.131.151.80 -Type ONTAP -UserName 212965 ' - Cannot run program "powershell" (in directory "C:\Program Files\NetApp\WFA\jboss\standalone\tmp\wfa"): CreateProcess error=2, The system cannot find the file specified
Need a quick resolution to this. Please
1 REPLY 1
Re: Cannot run program "powershell"
2013-11-06 11:55 PM
Did your powershell 3.0 upgrade went fine? Did you reboot your server after upgrade? System variable are normally updated automatically upon PowerShell upgrades and requires no manual intervention.
To test it, open a cmd prompt and type "powershell" and paste the result. If it succeeds you should get a new shell opened. Type $host and paste the output.
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.