One thought on “Powershell – Get locked out AD user accounts and export to CSV

  1. Jim

    I recently implemented a script that would trigger an email notification when a user gets locked out. It’s set to trigger on a specific security event ID on one of my DCs. Works really well, if you don’t have a lot of users constantly locking themselves out, it can be fairly handy as well.

    Anyway, this is nicely put together. Well done, sir.

Leave a comment