Goooooooood morning!!!
How can we know in advance if we have a massive password expiration in our organization and to avoid thousands of calls to the Help Desk?
Simple ..:)... I leave you a script that can run a schedule task, it takes the data detailed below:
sAMAccountName
User Last Logon
Password last Set
Password expire
Password expired
Account locked
Maximum Password Age
Days Left
Expiration Date
Account Status
Exchange Server
UserDN
EAS Enabled
Code: