Password Change Reminder PowerShell Script Updated!
September 18, 2014 2 Comments
Back in 2012 i wrote a script to help me remind users about their password expiry, to reduce the number of calls i got on the helpdesk. I decided to share it and published it on the TechNet Gallery,
It has been quite popular since then, with over 8,000 downloads!
Throughout that time i have received a number of questions about how to tweak the script to do various things or fix bugs and errors that people have found.
I have been tweaking it as i go, without much notification to anyone. I have just finished quite a big change, so i thought i would put up a post here, to let people know.
So what’s new?
Comments. Well firstly i added a lot more comments to the script itself. Not very exciting, but for those wanting to tweak it themselves, kind of important.
Logging. I have added logging so any notifications generated can also be outputted into a CSV file.
Testing. A lot of people wanted to be able to test it, but not have users emailed directly, so now you can have all notifications emailed to a separate address. Which you can see in the above email, all the emails going to email@example.com .
As always i welcome any comments or suggestions for the script over at the TechNet Gallery.
I have posted a troubleshooting guide here.