Status of Multiple Users via CSV

100 views
Skip to first unread message

John Hawthorn

unread,
Nov 4, 2024, 8:45:45 AM11/4/24
to GAM for Google Workspace
Probably more simple than I am making it out to be,  but I have been given a list of terminated employee emails (~120).  I wanted to use something similar to gam info user  to determine if the users are suspended or not.  I am using GAMADV, but I can't seem to find an appropriate command for what I am trying to do.  Not an emergency or anything, but any help is appreciated.  Thank you, 

Maj. Marshall Giguere

unread,
Nov 4, 2024, 10:05:30 AM11/4/24
to google-ap...@googlegroups.com
gam redirect csv ./Suspended.csv print users query "isSuspended=true"

On Mon, Nov 4, 2024 at 6:46 AM 'John Hawthorn' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:
Probably more simple than I am making it out to be,  but I have been given a list of terminated employee emails (~120).  I wanted to use something similar to gam info user  to determine if the users are suspended or not.  I am using GAMADV, but I can't seem to find an appropriate command for what I am trying to do.  Not an emergency or anything, but any help is appreciated.  Thank you, 

--
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/47fa1fe5-5bcf-4615-9af0-7f215a3a8db0n%40googlegroups.com.

Ross Scroggs

unread,
Nov 4, 2024, 10:07:59 AM11/4/24
to google-ap...@googlegroups.com

Make a CSV file Users.csv with a column labelled primaryEmail

gam redirect csv ./UsersSuspendedState.csv csvfile Users.csv:primaryEmail print users suspended


Ross

----
Ross Scroggs



On Nov 4, 2024, at 5:45 AM, 'John Hawthorn' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:

Probably more simple than I am making it out to be,  but I have been given a list of terminated employee emails (~120).  I wanted to use something similar to gam info user  to determine if the users are suspended or not.  I am using GAMADV, but I can't seem to find an appropriate command for what I am trying to do.  Not an emergency or anything, but any help is appreciated.  Thank you, 

John Hawthorn

unread,
Nov 4, 2024, 10:33:43 AM11/4/24
to google-ap...@googlegroups.com
Awesome, Thank you so much!  That worked perfectly.  

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/yXgEYtvSUxU/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/B33206AE-0818-4C65-AB2F-7788E7ECD698%40gmail.com.


--
John Hawthorn
IT Applications & Systems Admin
University of Rhode Island
Reply all
Reply to author
Forward
0 new messages