TestimoX

API Reference

Command

Export-ADXAuditPolicy

Namespace ADPlayground.PowerShell

Exports the Local GPO Advanced Audit policy (Machine scope) to auditpol-compatible CSV.

Examples

Authored help example

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 requiredposition: 0pipeline: false
Destination CSV path compatible with auditpol.exe /backup.