Gam update group clear

334 views
Skip to first unread message

Bryan Guidroz

unread,
Jul 22, 2016, 9:39:45 PM7/22/16
to Google Apps Manager
Will the next release include the gam update group clear command?
Would make my next task so much easier.

Jay Lee

unread,
Jul 22, 2016, 9:41:40 PM7/22/16
to Google Apps Manager

And what would clearing a group actually do?

Jay


On Fri, Jul 22, 2016, 9:39 PM Bryan Guidroz <bryang...@tpsdonline.org> wrote:
Will the next release include the gam update group clear command?
Would make my next task so much easier.

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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/316e766c-b7ee-4544-bb72-ecb959193c1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Jay

Bryan Guidroz

unread,
Jul 22, 2016, 9:49:31 PM7/22/16
to Google Apps Manager
Quickly remove members of a group.
A single command to empty a group.

https://github.com/jay0lee/GAM/pull/187/commits/bfe1793d302c4c1c2199f63ea72c9feecdd4b888

Ross Scroggs

unread,
Jul 22, 2016, 11:09:22 PM7/22/16
to google-ap...@googlegroups.com
Bryan,

It's available here: https://github.com/taers232c/GAM/releases/tag/v3.66

gam update group <GroupName> clear [owner] [manager] [member]

Specify all of the roles you want to clear.

In gam 3.65 this works: gam update group <GroupName> sync member users ''
(n.b., that's two single quotes at the end.)
You have to issue the command once for each role you want to clear.

Ross
--
ross.s...@gmail.com
> --
> You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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/85bede94-d795-45eb-bb4a-a8a3f8f6e43b%40googlegroups.com.

Bryan Guidroz

unread,
Jul 23, 2016, 12:41:16 AM7/23/16
to Google Apps Manager
Thanks Ross. Sticking with 3.65. The single quotes did exactly what I needed. Thought I was going to have to enumerate all members to then remove each one. Saved me a lot of time.
Reply all
Reply to author
Forward
0 new messages