Active Directory Users Created In Last 30 Days – PowerShell

As part of an Active Directory project we have been involved with, there had been a compliance issue where the Service Desk were creating users with “Password Never Expires”, which was against the security policy of the company.

To help identify the incorrectly created Users and also to fix them, this script was created;

With this information, the AD Team were then able to fix any incorrectly created accounts, and also speak to the Service Desk and educate them.

Leave a Reply

Your email address will not be published. Required fields are marked *