API Reference
Command
Export-ADXAuditPolicy
Exports the Local GPO Advanced Audit policy (Machine scope) to auditpol-compatible CSV.
Examples
Example 1: Export Machine audit policy to CSV
Export-ADXAuditPolicy C:\out\audit.csv
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Export-ADXAuditPolicy -Path <string> [<CommonParameters>]#Parameters
- Path string
- Destination CSV path compatible with auditpol.exe /backup.