Active IQ Unified Manager Discussions

Cannot run program "powershell"

shariq_aijaz
2,595 Views

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)[0] ; 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

Regards

Shariq

1 REPLY 1

sinhaa
2,595 Views

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.
Public