Adaudit – Powershell Script To Do Area Auditing Automation

PowerShell Script to accomplish a snappy AD audit

_____ ____     _____       _ _ _
| _ | | _ |_ _ _| |_| |_
| | | | | | | | . | | _|
|__|__|____/ |__|__|___|___|_|_|
through phillips321

When you have any first rate powershell one liners which may be used within the script please let me know. I am seeking to stay this script as a unmarried report with out a requirements on exterior equipment (as opposed to ntdsutil and cmd.exe)
Run without delay on a DC the use of a DA. If you do not believe the code I recommend studying it first and you’ll be able to see it is all risk free! (However mustn’t you be doing that anyway with code you obtain off the web after which run as DA??)
audit (and checking SYSVOL for passwords)

  • Get-GPOtoFile
  • Get-GPOsPerOU
  • Get-SYSVOLXMLS
  • Test Generic Team AD Permissions
    • Get-OUPerms
  • Test For Lifestyles of LAPS in area
    • Get-LAPSStatus
  • Test For Lifestyles of Authentication Polices and Silos
    • Get-AuthenticationPoliciesAndSilos
  • Runtime Args
    The next switches can be utilized together

    • -hostdetails retrieves hostname and different helpful audit information
    • -domainaudit retrieves details about the AD comparable to practical stage
    • -trusts retrieves details about any doman trusts
    • -accounts identifies account problems comparable to expired, disabled, and many others…
    • -passwordpolicy retrieves password coverage knowledge
    • -ntds dumps the NTDS.dit report the use of ntdsutil
    • -oldboxes known out of date OSs like XP/2003 joined to the area
    • -gpo dumps the GPOs in XML and HTML for later research
    • -ouperms assessments generic OU permission problems
    • -laps assessments if LAPS is put in
    • -authpolsilos assessments for existenece of authentication insurance policies and silos
    • -all runs all assessments, e.g. AdAudit.ps1 -all
    Download Adaudit

    Published by Marshmallow

    Marshmallow Android is BT Ireland’s Head of Sales for Republic of Ireland domestic multi-site companies, indigenous MNCs and public sector accounts. He is responsible for the direction and control of all sales activity in the region. He has over 10 years management experience from high growth start-ups to more established businesses. He’s led teams in Ireland, India and China across various industries (ICT, On-Line Recruitment, Corporate Training and International Education).