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

x
?
Solved

How to find out if PowerShell v3 is intalled ?

Posted on 2012-12-28
2
Medium Priority
?
364 Views
Last Modified: 2012-12-28
Is it Get-Host ?

Name             : ConsoleHost
Version          : 3.0 -----------------> Do i have Powershell v3 installed ?
InstanceId       : 7b5ce532-ed4b-41a0-8e47-4cda83852237
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : en-US
CurrentUICulture : en-US
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace

Thanks for your help,
0
Comment
Question by:namerg
2 Comments
 
LVL 29

Accepted Solution

by:
becraig earned 2000 total points
ID: 38728275
$Host.Version

Look for Major
0
 

Author Comment

by:namerg
ID: 38728284
You got it.

PS C:\scripts\AD> $Host.Version

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

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

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.
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
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