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 :
InstanceId : 576e6370-f68a-41f8-967f-a58d9746450c
UI : System.Management.Automation.Internal.Host.InternalHostUserI
CurrentCulture : en-US
CurrentUICulture : en-US
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy

PS C:\>

or simply..

PS C:\> Get-host | select version


PS C:\>

Now start rocking with easy of administration.


Post a Comment