Powershell not found in system path

Hi

I’m trying to install a tentacle on my local machine, but when I get to the post install setup I am shown the attached error. When i run ‘$PSVersionTable.PSVersion’ I get back version 4 so I don’t know why Octopus can’t detect this.

Does anyone have any experience of this or is otherwise able to help me please?

Thanks

octo_error.png

I’ve checked the system variable for ‘Path’ and the powershell value appears in here as per below
C:\Program Files\System Center Operations Manager 2007;C:\WINDOWS\System32\WindowsPowerShell\v1.0\

Hi Scott,

A few things to check:

  • Make sure you are checking the system variables, and not the current user variables (see attached screenshot)

  • Make sure the variable “Path” has the value %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ in it. That’s how I have it in all of my Tentacles.

Let me know if any of those things help. If not, please let me know which version of Windows Server are you running.

Dalmiro

Hi

Thanks for the reply. I managed to resolve this with the senior dev on my team.

Thanks

Hi Scott,

Glad to hear that! May I ask how did you fix it?

It was something to do with the way I had powershell installed on my machine. I can’t profess to understand what I had done, but a fresh install seems to have fixed the issue