Tuesday, November 24, 2009

How to verify the powershell Version

Let me start with basics.

Do you want to know which version of powershell was installed on your machine? Stop and looking at the add-remove-programs and take help from this small cmdlet.

PS C:\> Get-host

Name : ConsoleHost
Version : 1.0.0.0
InstanceId : 576e6370-f68a-41f8-967f-a58d9746450c
UI : System.Management.Automation.Internal.Host.InternalHostUserI
nterface
CurrentCulture : en-US
CurrentUICulture : en-US
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy

PS C:\>

or simply..


PS C:\> Get-host | select version

Version
-------
1.0.0.0

PS C:\>

Now start rocking with easy of administration.

0 comments:

Post a Comment