gam print users query "isSuspended=False"

Category: Google Cloud & Workspace

gam print users query "isSuspended=False"

List users matching a directory query

Prints only the users satisfying the query string, here everyone not suspended. Queries use the Admin SDK syntax, so orgUnitPath='/Staff' narrows to an organizational unit and isArchived=False filters archived accounts. See gam print users for the unfiltered list.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.