gam all users update user changepassword on
Try:
gam print users query "orgUnitPath='/HighSchool'"
Which should print out only account in or under High School OU. If that's working you can do the force password change with:
gam print users query "orgUnitPath='/HighSchool'" | gam csv - gam update user ~primaryEmail changepassword on
Which will pull that same list and then force the password change attribute for those users.
Jay
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/cb245cd8-617d-44ba-9e06-60530feb71f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jay
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
I use this commandgam print users query "orgUnitPath='/2019'" | gam csv - gam update user ~primaryEmail password Password9911 changepassword onOf course, replace 2019 and Password9911 with your specifics
Edward CristTechnology ManagerCity Charter High School__________________________201 Stanwix St.Pittsburgh, PA 15222(412) 690-2316 fax"Humility is not thinking less of yourself, but thinking of yourself less" - C. S. LewisThe optimist believes we live in the best possible world....the pessimist fears this is true.
On Wed, Feb 8, 2017 at 11:43 AM, Tommy Hills <thi...@lelandschool.com> wrote:
my understanding is that this will prompt all users to change their password the next time they login:gam all users update user changepassword onbut I would like to know how to specify this to just a specific OU - for example an OU called "Highschool" and it's children
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/cb245cd8-617d-44ba-9e06-60530feb71f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CABTe6%2BDvBH-Qe22cG66USmu1jz1nEKJQuUfoxro5XZ%3Dz4KcnYQ%40mail.gmail.com.