Solved

How to find out if PowerShell v3 is intalled ?

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

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
A procedure for exporting installed hotfix details of remote computers using powershell
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

746 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now