troubleshooting Question

Need script to make changes to active directory accounts

Avatar of J C
J CFlag for United States of America asked on
Active DirectoryVB ScriptPowershell
24 Comments1 Solution341 ViewsLast Modified:
I'm looking for a script that I can apply to a Top-level OU and it's many sub OU's and users.

I need to a script that will force all of our users to change their password the next time they logon.

I don't know if there is a way but I want to make sure all user's are not prompted again to reset their password until their alloted time configured in our policy is up. For example, I am unsure if AD remembers how many days their had before they needed to change their password when the "Password never expires" option was ticked for their account. Just want it to be a clean slate for everyone.
ASKER CERTIFIED SOLUTION
Joseph Daly

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

Join our community to see this answer!
Unlock 1 Answer and 24 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 1 Answer and 24 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