SystemScriptFileEnforcement Enum
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.
System wide policy enforcement for a specific script file.
public enum SystemScriptFileEnforcement
type SystemScriptFileEnforcement =
Public Enum SystemScriptFileEnforcement
- Inheritance
-
SystemScriptFileEnforcement
Fields
Allow | 2 | Script file is allowed to run without restrictions (FullLanguage mode). |
AllowConstrained | 3 | Script file is allowed to run in ConstrainedLanguage mode only. |
AllowConstrainedAudit | 4 | Script file is allowed to run in FullLanguage mode but will emit ConstrainedLanguage restriction audit logs. |
Block | 1 | Script file is blocked from running. |
None | 0 | No policy enforcement. |