PSVersionInfo.PSVersion Property

Definition

Gets the version of PowerShell.

public static Version PSVersion { get; }
static member PSVersion : Version
Public Shared ReadOnly Property PSVersion As Version

Property Value

Applies to