--
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/2B013E27-360F-494D-B2C3-7135EAE57CDD%40auhsdschools.org.
For more options, visit https://groups.google.com/d/optout.
gam update group|groups <GroupEntity> clear [member] [manager] [owner] [suspended]
On Thu, Sep 14, 2017 at 3:17 PM, Eric Dannewitz <edann...@auhsdschools.org> wrote:
I’m looking for an easy way to remove user accounts that have been suspended from groups. Would I have to create a CSV of users that are suspended do something like this with member being the first record in the csvgam redirect stdout ./removefromgroups.log multiprocess redirect stderr stout csv suspendedusers.csv gam update groups llhsacadstaff remove ~member---
Eric Dannewitz
Technology Assistant
Acalanes Union High School District
District Office Technology Department
--
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/2B013E27-360F-494D-B2C3-7135EAE57CDD%40auhsdschools.org.
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/CAGpwKJJc%2B%2BCCvpq2FJ%2BnYeCymodW-pGqx%2B7VXXu6EydvnyaBGQ%40mail.gmail.com.
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJkvRS9r2TYv7Vdj7YRywqyvXwp7x3OwBKmA1Ty7DNppCODWwA%40mail.gmail.com.
On Sep 14, 2017, at 12:57 PM, Ross Scroggs <ross.s...@gmail.com> wrote:
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJkvRS9r2TYv7Vdj7YRywqyvXwp7x3OwBKmA1Ty7DNppCODWwA%40mail.gmail.com.
Though, if you wanted to go through ALL the groups in your organization, you would still have to create a csv of the groups, and then do something like thisGam redirect stdout removedfromgroup.log multiprocess redirect stderr stout csv all groups.csv gam update group ~group clear suspendedRight?
---
Eric Dannewitz
Technology Assistant
Acalanes Union High School District
District Office Technology Department
On Sep 14, 2017, at 12:57 PM, Ross Scroggs <ross.s...@gmail.com> wrote:
Eric,With advanced Gam (https://github.com/taers232c/GAMADV-X) you can do what you want in a single command.gam update group|groups <GroupEntity> clear [member] [manager] [owner] [suspended]Ross
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAGpwKJJc%2B%2BCCvpq2FJ%2BnYeCymodW-pGqx%2B7VXXu6EydvnyaBGQ%40mail.gmail.com.
--
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/CAJkvRS9r2TYv7Vdj7YRywqyvXwp7x3OwBKmA1Ty7DNppCODWwA%40mail.gmail.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/C2862FA4-E421-45DA-9AFA-5B3B668FCB58%40auhsdschools.org.
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-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/2B013E27-360F-494D-B2C3-7135EAE57CDD%40auhsdschools.org.
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-ap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAGpwKJJc%2B%2BCCvpq2FJ%2BnYeCymodW-pGqx%2B7VXXu6EydvnyaBGQ%40mail.gmail.com.
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/2B013E27-360F-494D-B2C3-7135EAE57CDD%40auhsdschools.org.
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-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/CAGpwKJJc%2B%2BCCvpq2FJ%2BnYeCymodW-pGqx%2B7VXXu6EydvnyaBGQ%40mail.gmail.com.
--
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/7144d1be-4656-42c2-8955-f2b443d15b7d%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 Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/2cc5adda-29ad-4349-a423-3ab04ad4fd62n%40googlegroups.com.
Seven years later, but at least now there is an easy way to do this...
Run:
gam print groups >groups.csv
Then run:
gam csv groups.csv gam update group "~email" clear suspended