ScriptRequirements.IsElevationRequired Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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