[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Determine why Powershell version 4 is not installed

Posted on 2016-09-05
4
Medium Priority
?
57 Views
Last Modified: 2016-09-25
Running Windows 7 Pro on an HP z230

I ran Powershell on my pc , typed in the command  get-host  and it says I have version 2.

I looked in my registry and it seems to indicate I have dotnet version 4 installed  (see attachment)

My understanding is if I have dotnet 4 then Powershell version 4 should be installed.

What am I missing?
0
Comment
Question by:donpick
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
Todd Nelson earned 1600 total points (awarded by participants)
ID: 41785561
I believe you are thinking of Windows Management Framework (WMF) 4.0 which includes PowerShell 4.0. .NET Framework isn't directly related to nor does it include PowerShell 4.0.

https://www.microsoft.com/en-us/download/details.aspx?id=40855

WMF 4.0 requires .NET FX 4.5, and can be installed on Windows 7.

By default, Win7 comes with PowerShell 2.0, Win8 comes with PowerShell 3.0, Win8.1 comes with PowerShell 4.0.
0
 
LVL 85

Assisted Solution

by:oBdA
oBdA earned 400 total points (awarded by participants)
ID: 41785591
Todd Nelson is right - .NET 4 is a requirement for PS after 2.0, but it doesn't include it.
Note that in the meantime, PS 5.0 is available, even for Windows 7.
And in case you saw the syntax highlighting on a Windows 10 machine, you can have that on your Windows 7 machine as well; it's the PSReadline module, which is by default included in Windows 10 (but needs to be installed separately in earlier versions).

Windows Management Framework 5.0
https://www.microsoft.com/en-us/download/details.aspx?id=50395

lzybkr/PSReadLine
https://github.com/lzybkr/PSReadLine
0
 

Author Comment

by:donpick
ID: 41787182
Thank you for your prompt replies.   I pay for this service so I appreciate prompt help.
0
 
LVL 16

Expert Comment

by:Todd Nelson
ID: 41814562
You should have enough information to provide a solution to your request.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
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.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

650 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