Scripts and snippets I’ve created over the years to help automate various sysadmin tasks.
Restore-ADUserAttributes.ps1: diff and restore AD user attributes from a snapshot
PowerShell script that diffs current AD user objects against a snapshot and optionally restores attributes, CN, OU and enabled state.