10 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
ca0229d36f Add .gitignore 2024-06-21 08:51:24 -04:00
db3914286f README for Automate scripts 2024-06-04 13:52:38 -04:00
23d1df1a09 Replace quotes to expand variables in AgentInstallerUri 2024-06-04 13:52:06 -04:00
3e1805ad33 UseBasicParsing and fix log path 2024-06-04 13:51:12 -04:00
c461d04165 Add Automate installation scripts 2024-06-04 11:53:52 -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