Powershell 2.0 not detected on Server 2008R2

I am attempting to install Microsoft Online Services Module for Windows PowerShell.  When I start the install I get the following message:

"In order to install Microsoft Online Services Module for Windows PowerShell, you must have Windows PowerShell 2.0 or greater installed on this computer."

I have 3 according to $Host.Version:
Major  Minor  Build  Revision
-----  -----  -----  --------
3      0      -1     -1

Open in new window


Anyone have any ideas as to how to get this installed?  I'm preparing to migrate from Domino to Exchange Online and the migration server needs to have MOSM installed.
apa-ITAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
apa-ITConnect With a Mentor Author Commented:
So UAC strikes again.  After disabling UAC temporarily and rebooting I was able to install it.
0
 
Brad HoweDevOps ManagerCommented:
If you Go to Server Manager -> Features -> Add Features -> Scroll down to the bottom -> Check off Windows PowerShell Integrated Scripting Enviornment (ISE) -> Install
 
This should install powershell 2.0 for you.

Cheers,
Hades666
0
 
apa-ITAuthor Commented:
That is checked by default on this server.
pshell.PNG
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
Brad HoweDevOps ManagerCommented:
Then it should be fine.

Try executing the following to confirm and then check the $Host.Verison.

%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe

-Hades666
0
 
apa-ITAuthor Commented:
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.

PS C:\Windows\System32\WindowsPowerShell\v1.0> $Host.Version

Major  Minor  Build  Revision
-----  -----  -----  --------
3      0      -1     -1


PS C:\Windows\System32\WindowsPowerShell\v1.0>
0
 
apa-ITAuthor Commented:
This solution worked for me.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.