Information
This policy setting allows script scanning to be turned on/off. Script scanning intercepts scripts then scans them before they are executed on the system.
The recommended state for this setting is: Allowed
When running an antivirus solution such as Microsoft Defender Antivirus, it is important to ensure that it is configured to heuristically monitor in real-time for suspicious and known malicious activity.
Solution
To establish the recommended configuration via configuration profiles, set the following Settings Catalog path to Allowed
Defender\Allow Script Scanning
Impact:
None - this is the default behavior.