MP.JL.DODW11INT.110 Turn on PowerShell Script Block Logging is set to Enabled
Description
DoD Windows 11 STIG, recommendation WN11-CC-000326.
The test passes when an assigned settings catalog policy for Windows sets Administrative Templates > Windows Components > Windows Power Shell > Turn on PowerShell Script Block Logging to Enabled, and no other assigned policy sets it to something else.
Remediation action
- In the Microsoft Intune admin center, go to Devices > Configuration and open (or create) a settings catalog policy for Windows 10 and later.
- Add Administrative Templates > Windows Components > Windows Power Shell > Turn on PowerShell Script Block Logging and set it to Enabled.
- Assign the policy to your Windows devices, and remove any other assigned policy that sets it to something else.
Related links
%TestResult%