Everytime I try to run a Enter-PSSession -ComputerName name, I am logged on to version 1.0 even tought 2.0 is installed.

Being the powershell newbie, I looked into the registry in HKLM\SOftWare\Microsoft\PowerShell\1\PowerShellEngine I see these registries


Unfortunately I am unable to change it to syswow64 directory. Nor remove the 1.0 in compatability

Am I doing something wrong?


I just want is PSH v2 when I enter remotely (Enter-PSSession)

Any and all help is appreciated


You're getting PowerShell v2. v1 is incapable of accepting a remoting connection; therefore, if you're connected via remoting, it's v2.

It's also impossible to have both v1 and v2 installed side-by-side. When you install v2, it replaces v1.

What's probably confusing you is that both v1 and v2 of PowerShell use the v1.0 language engine. That's the reference to 1 that you're seeing.

Run Get-Host to see the actual version of PowerShell. Don't rely on registry entries, folder names, or other things.

  • Thanks for the swift response. But $host.version yields 1 0 0 -1 But A local powershell window yields 2 0 -1 -1 – NItin Jun 20 '11 at 0:10

Try $psversiontable -- this variable doesn't exist in V1, but will confirm for you that you're running V2.

I see the same behavior with $host.version, even when remoted into a 2008 R2 box, that can only have V2 installed. That must be the host version of the remoting endpoint. $psversiontable is your best way to determine your PS version.


Hi you might able to get the version with the following cmdlet


Work as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.