How to Display PowerShell Version and Host Information

by [Published on 6 Aug. 2014 / Last Updated on 6 Aug. 2014]

Tip explains use of Get-Host PowerShell cmdlet to display PowerShell version and host information.

Get-Host PowerShell cmdlet displays information about the PowerShell console, name of the host, the version of PowerShell that is running on the host, and current culture and UI culture.

Running Get-Host command displays the below information.

  • Name             : ConsoleHost
  • Version          : 2.0
  • InstanceId       : d0c01d4e-3333-4730-ae7d-0d399578f283
  • 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

About Nirmal Sharma

Nirmal is a MCSEx3, MCITP and was awarded Microsoft MVP award in Directory Services. He is specialized in Directory Services, Microsoft Clustering, Hyper-V, SQL and Exchange and has been involved in Microsoft Technologies since 1994. In his spare time, he offers technical help by writing tips and articles. Nirmal can be reached at nirmal_sharma@mvps.org.

Featured Links