Project

AuditPolicy

AuditPolicy module aims to replace auditpol.exe to get or set Auditing Policies in Windows in more native PowerShell way

Stars11
Forks2
Open issues0
PowerShell Gallery downloads23373
Releasev0.0.6
Language: PowerShell Updated: 2026-02-14T21:44:05.0000000+00:00

Documentation

Install AuditPolicy

Install AuditPolicy from the PowerShell Gallery.

Install AuditPolicy before trying the curated Windows audit policy examples.

Install-Module -Name AuditPolicy -Scope CurrentUser
Import-Module AuditPolicy

Use an elevated PowerShell session when the task changes local audit policy settings.