Print OU users are in

16 views
Skip to first unread message

Eric Downing

unread,
Sep 3, 2025, 1:11:54 PM (2 days ago) Sep 3
to GAM for Google Workspace
Hello, I'm using the following command however I am getting a whole lot of other information. I would simply like to see the output of the report on one line for each user like this:

email,orgunitpath
us...@domain.com,/orgunitpath

My command:

gam csv migratedusers.csv gam info user ~email fields primaryemail,orgunitpath


Thank you!

Ross Scroggs

unread,
Sep 3, 2025, 1:14:26 PM (2 days ago) Sep 3
to google-ap...@googlegroups.com
gam redirect csv ./MigratedUsersOUs.csv multiprocess redirect stderr - multiprocess csv migratedusers.csv gam print user ~email fields primaryemail,orgunitpath

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/8d46156a-e74b-4513-8145-fb7d2114b38an%40googlegroups.com.

Eric Downing

unread,
Sep 3, 2025, 1:15:36 PM (2 days ago) Sep 3
to GAM for Google Workspace
Update:

Found the correct command:

gam csv migratedusers.csv gam info user ~email fields primaryemail,orgunitpath

Eric Downing

unread,
Sep 3, 2025, 1:59:09 PM (2 days ago) Sep 3
to GAM for Google Workspace
As always, thank you Ross!
Reply all
Reply to author
Forward
0 new messages