ISM-1624
PowerShell script block logs are protected by Protected Event Logging functionality.
System Hardening › Operating system hardening › PowerShell
- ASD ISM
- 2026.09.4
- NC
- OS
- P
- S
- TS
From the manual’s overview
PowerShell is a powerful scripting language developed by Microsoft and, due to its ubiquity and ease with which it can be used to control operating systems, is an important part of system administrator toolkits. However, PowerShell can also be a dangerous exploitation tool in the hands of malicious actors.
To prevent attacks leveraging vulnerabilities in earlier PowerShell versions, Windows PowerShell 2.0 should be disabled or removed from operating systems. Additionally, PowerShell’s language mode should be set to Constrained Language Mode to achieve a balance between security and functionality.
Finally, centrally logging and analysing PowerShell events can assist in monitoring the security posture of systems, detecting malicious behaviour and contributing to investigations following cyber security incidents.
Where this sits in the manual
- Guidelines for system hardening
- Operating system hardening
- PowerShell
Revision
- Manual release
- September 2026 (2026.09.4)
- Control revision
- 0
- Last changed
- Oct-20
- Release published
- 3 September 2026