Closed bartreardon closed 6 years ago
Thank you for the feature request. I have posted a new build which takes command line arguments. You should be able to call macOSLAPS from the command line with the argument -resetPassword. Let me know if it works for you! 👍
that works well - thank you :)
Glad to hear it. I'll be closing this issue 👍
New feature request:
In instances when a mac has been re-built, macOSLAPS won't update the local admin account password if the expiry date stored in AD has not been reached yet. This means the password as stored in AD will not be in sync with what is actually on the machine. It would be hand to be able to run the tool with a switch to update the password at any time, specifically for re-builds (e.g. it could run after rebuild to re-sync the local password with what's in AD).
If I get the chance I'll take a look at the code and issue a PR - documenting here for feedback.