Closed springmeyer closed 9 years ago
looks like its set PATH=C:\Windows\System32\WindowsPowershell\v1.0\;%PATH%
Strange. It should already be on %PATH% on recent OSes. I suppose you are using 2012?
Did you change any Windows features? While researching this, I found out, that PowerShell can suddenly disappear when doing so.
C:\Windows\System32\WindowsPowershell\v1.0
exists
dism.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShellRoot
dism.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShell /all
where powershell
set PATH=C:\Windows\System32\WindowsPowershell\v1.0;%PATH%
Reference: http://serverfault.com/questions/431010/server-2012-server-core-powershell-not-installed
I'm now hitting broken/missing PATH to powershell on my AWS win ec2 when I run settings.bat. Going to add the path in there now to avoid having to re-find this ticket.
@BergWerkGIS - any ideas what I need to do to avoid the "powershell" not found error? this is on my aws machine I've been using for several months. I ran
settings.bat
, thenbuild_mapnik.bat
, then hit this.