Solved

How to find out if PowerShell v3 is intalled ?

Posted on 2012-12-28
2
356 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 500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

831 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