troubleshooting Question

Force all staff to reset passwords with specific requirements

Avatar of stealth82
stealth82Flag for United States of America asked on
Active DirectoryScripting LanguagesPowershell
13 Comments2 Solutions263 ViewsLast Modified:
Hi Experts,

I need a script that will go through AD and force certain staff to change their password.

So hopefully some genius can help on here ;-)

What I need the script to do.

If a user has a staff ID between 100000-500000 and has an email address & they have not changed their password within the past week then make them change password on next login.

Hope someone can help

Rory Clerkin
IT Manager

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 13 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros