https://www.securitynewspaper.com/2018/04/21/powershell-automate-active-directory-audit/
PowerShell, How to Automate an Active Directory Audit