Tag: Auditing

Export Active Directory Users to CSV with PowerShell

Export AD users to CSV using the three-cmdlet pipeline (Get-ADUser, Select-Object, Export-Csv). Covers scope selection (-Filter, -SearchBase, -SearchScope), the computed-property pattern for columns like Manager-DN-to-name and clean OU paths, a reusable function with parameters, and common variations (disabled accounts, stale logons, group membership exports).

Enable Active Directory Auditing

Learn how to configure Active Directory auditing via Group Policy on Windows Server 2008 R2 and later. Track account changes, directory service modifications, and policy updates across all domain controllers.