Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Powershell 2.0 not detected on Server 2008R2

Posted on 2013-01-14
6
Medium Priority
?
660 Views
Last Modified: 2013-01-19
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.
0
Comment
Question by:apa-IT
  • 4
  • 2
6 Comments
 
LVL 30

Expert Comment

by:Brad Howe
ID: 38774754
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
 

Author Comment

by:apa-IT
ID: 38774770
That is checked by default on this server.
pshell.PNG
0
 
LVL 30

Expert Comment

by:Brad Howe
ID: 38774804
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
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 

Author Comment

by:apa-IT
ID: 38774866
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
 

Accepted Solution

by:
apa-IT earned 0 total points
ID: 38775149
So UAC strikes again.  After disabling UAC temporarily and rebooting I was able to install it.
0
 

Author Closing Comment

by:apa-IT
ID: 38796062
This solution worked for me.
0

Featured Post

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
Loops Section Overview
Screencast - Getting to Know the Pipeline

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question