gam config auto_batch_min 1 redirect csv ./UserTeamDrives.csv multiprocess redirect stdout - multiprocess redirect stderr stdout all users print shareddrives fields id,name role organizer
Notes:
config auto_batch_min 1 - Turn on parallel processing
redirect csv ./UserTeamDrives.csv multiprocess - Where to put output
redirect stdout - multiprocess redirect stderr stdout - Provide clean logging
all users
print shareddrives fields id,name
role organizer - Drop if you want to see all shared drives for which the user has access
This will give you a file like this:
Ross