Gam command?

40 views
Skip to first unread message

Jason Komendat

unread,
Oct 14, 2025, 2:42:27 PMOct 14
to GAM for Google Workspace
I was asked to get the last sync and last user for a list of chromebooks. I keep trying various versions of the below command and get nothing but syntax errors. Is this possible?

CSV has a column "Serial Number" 


gam csv "FrILE.csv" gam print cros '~Serial Number' fields serialnumber,recentusers,lastsync > chromebook_user_sync_export.csv

Ross Scroggs

unread,
Oct 14, 2025, 3:10:28 PMOct 14
to google-ap...@googlegroups.com
gam redirect csv ./chromebook_user_sync_export.csv multiprocess redirect stderr - multiprocess csv "FrILE.csv" gam print cros query 'id:~~Serial Number~~' fields serialnumber,recentusers,lastsync listlimit 1

Ross
----
Ross Scroggs



NOTICE: This communication and any response to it may constitute a public record, and therefore, may be available upon request under Iowa public records law, Iowa Code Chapter 22.

--
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/328602cf-15d8-4724-8394-6dc85411254bn%40googlegroups.com.

Jason Komendat

unread,
Oct 15, 2025, 8:43:39 AM (14 days ago) Oct 15
to GAM for Google Workspace
Awesome, thanks for that.
Reply all
Reply to author
Forward
0 new messages