Search notes:

PowerShell: determine version with get-host

The get-host cmdLet allows to determine the current version of PowerShell:
PS C:\> (get-host).version

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      17763  134

See also

Determine PowerShell version with $psVersionTable.

Index