Data Infrastructure Management Software Discussions


Cannot run program "powershell"

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




Re: Cannot run program "powershell"

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.

Cloud Volumes ONTAP
Review Banner
All Community Forums