Share via


ScriptRequirements.IsElevationRequired Property

Definition

Specifies if this script requires elevated privileges, specified like: #requires -RunAsAdministrator If nothing is specified, this property is false.

public:
 property bool IsElevationRequired { bool get(); };
public:
 property bool IsElevationRequired { bool get(); };
public bool IsElevationRequired { get; }
member this.IsElevationRequired : bool
Public ReadOnly Property IsElevationRequired As Boolean

Property Value

Applies to