Share via


ScriptRequiresException.RequiresPSVersion Property

Definition

Gets the PSVersion that the script requires.

public:
 property Version ^ RequiresPSVersion { Version ^ get(); };
public Version RequiresPSVersion { get; }
member this.RequiresPSVersion : Version
Public ReadOnly Property RequiresPSVersion As Version

Property Value

Applies to