# \[solved\] Julia throws "PowerShell version \< 3" error, when PowerShell is \>3

**URL:** <https://discourse.julialang.org/t/solved-julia-throws-powershell-version-3-error-when-powershell-is-3/4496>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [June 27, 2017, 4:07pm UTC](https://discourse.julialang.org/t/solved-julia-throws-powershell-version-3-error-when-powershell-is-3/4496 "2017-06-27T16:07:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nectarineimp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nectarineimp/32/883_2.png) [@Nectarineimp](https://discourse.julialang.org/u/Nectarineimp)\
**Post date:** [June 27, 2017, 4:07pm UTC](https://discourse.julialang.org/t/solved-julia-throws-powershell-version-3-error-when-powershell-is-3/4496/1 "2017-06-27T16:07:39Z")

</div>

This just happened, so some update has broken something. I saw this originally last year, but I can’t recall how I fixed it. Why would Julia/Atom get confused on what version of PowerShell I am running?

I’m on a Windows 7 Professional corporate machine, everything should be up to date.

Pete

---

<div class="post-metadata">

**Author:** ![musm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/musm/32/3675_2.png) [@musm](https://discourse.julialang.org/u/musm)\
**Post date:** [June 27, 2017, 9:17pm UTC](https://discourse.julialang.org/t/solved-julia-throws-powershell-version-3-error-when-powershell-is-3/4496/2 "2017-06-27T21:17:02Z")

</div>

What exactly causes the error (i.e. example triggering the error)? Is it from Atom or Julia.

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [June 27, 2017, 9:55pm UTC](https://discourse.julialang.org/t/solved-julia-throws-powershell-version-3-error-when-powershell-is-3/4496/3 "2017-06-27T21:55:43Z")

</div>

I’ve seen this pop up sporadically, but never consistently unless it’s actually correct.  
Can you give me the ouput of `powershell $PSVersionTable.PSVersion` evaluated in the command line?

---

<div class="post-metadata">

**Author:** ![Nectarineimp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nectarineimp/32/883_2.png) [@Nectarineimp](https://discourse.julialang.org/u/Nectarineimp)\
**Post date:** [July 12, 2017, 6:16pm UTC](https://discourse.julialang.org/t/solved-julia-throws-powershell-version-3-error-when-powershell-is-3/4496/4 "2017-07-12T18:16:28Z")

</div>

It triggers every time I start up Atom. It doesn’t if I start the command line version of Julia.

```
PS C:\Windows\System32\WindowsPowerShell\v1.0> 
$PSVersionTable.PSVersion

Major Minor Build Revision
----- ----- ----- --------
4 0 -1 -1

```

I noticed that the powershell dropped out of my path (yay corporate IT meddling again!) so I suspect that is part of the problem. Fixing that situation now.

…typing typing typing…

…and it’s fixed. I was launching powershell from a desktop icon which had the path hardwired. Launching it from the command line is the real test.
