How to list all Google Groups matching a certain string pattern / using a wildcard

605 views
Skip to first unread message

Josh Gold

unread,
Sep 24, 2021, 1:42:16 PM9/24/21
to GAM for Google Workspace
Hello GAM users,

I am looking to list all Google Groups starting with a certain word.  Is there a way to return all Google Groups using a wildcard to accomplish this?

Thank you,

Josh

Ross Scroggs

unread,
Sep 24, 2021, 1:55:55 PM9/24/21
to google-ap...@googlegroups.com
Josh,


It's not clear what "Google Groups starting with a certain word" means, you can search on the email address or group display name.

gam print groups query "email:xyz*"
gam print groups query "name:xyz*"

email:xyz* works
name:xyz* mostly works, it seems to return some groups where xyz in is the body of the name, not just at the beginning

Ross

--
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/d4134519-2047-45b4-aab9-0d82e8e9f41dn%40googlegroups.com.


--

Josh Gold

unread,
Sep 24, 2021, 2:01:55 PM9/24/21
to GAM for Google Workspace
Hello Ross,

The first suggestion you provided was successful:

gam print groups query "email:xyz*"

Thank you!

Reply all
Reply to author
Forward
0 new messages