gam script to remove old contacts

27 views
Skip to first unread message

Zack Frangidakis

unread,
Sep 12, 2025, 12:02:03 PM (5 days ago) Sep 12
to GAM for Google Workspace
Greetings:

Im running the following gam command to remove an old email from peoples contacts.

gam redirect csv bad_contacts.csv all users print contacts emailmatchpattern “<emailtodelete>”

How can I tailor this command to run on a specific OU only?

Ross Scroggs

unread,
Sep 12, 2025, 1:51:58 PM (5 days ago) Sep 12
to google-ap...@googlegroups.com
gam redirect csv bad_contacts.csv ou "/Path/to/OU" print contacts emailmatchpattern “<emailtodelete>”

Ross
----
Ross Scroggs



--
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 visit https://groups.google.com/d/msgid/google-apps-manager/c95f07c8-e45a-4bab-9ebe-053270c9b443n%40googlegroups.com.

Zack Frangidakis

unread,
Sep 15, 2025, 9:42:03 AM (2 days ago) Sep 15
to google-ap...@googlegroups.com
Thanks


Zack Frangidakis
Assistant Director Of Technology
La Grange School District 102
333 N. Park Rd
La Grange Park, IL 60526
What did you think about our interaction? Share your comments/feedback: Feedback Form







You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/uuBm6vg3jMM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/DBBE4499-327F-4F74-BF97-D3E88DEC2620%40gmail.com.
Reply all
Reply to author
Forward
0 new messages