5 Commits

Author SHA1 Message Date
6db794ce28 Added grace period for newly created accounts
Accounts which have not yet signed in will have a null `lastLogon` We do want to disable accounts which have never logged in, but want to allow IT to create accounts before the user starts.
The added `$MinAccountAge` is the minimum age of the account based on the lastCreated attribute before the script will include them to disable.
2024-06-21 08:57:35 -04:00
1c7fcdacdf Include debug information in email report 2024-05-13 12:30:44 -04:00
5d74bd4e21 Fix compatibiltiiy handling user account disables 2024-05-13 12:30:27 -04:00
779d2ad2dd Refactor user search and filtering, disabling. Include DisplayName 2024-05-13 12:16:47 -04:00
1ca15e5130 Add Disable-InactiveAdUser script 2024-05-03 13:41:12 -04:00