Report Workspace Storage Usage

137 views
Skip to first unread message

Will Sultzer

unread,
Jan 25, 2024, 11:54:34 AM1/25/24
to GAM for Google Workspace
Good Morning,

Is it possible to pull the overall workspace storage usage using GAMADV without first pulling individual drive usage and team drive usage?

What I'm trying to accomplish is grabbing the total percentage of our Workspace storage used as it is displayed in the admin console without accessing it via the admin console. 

Thank you,

Will Sultzer

Brian Kim

unread,
Jan 25, 2024, 12:17:46 PM1/25/24
to GAM for Google Workspace
For My Drive,

If you did

gam config auto_batch_min 1 redirect csv - multiprocess todrive all users ns_susp print drivesettings, you will see usageInDrive column.


For Shared Drives, it's a series of steps
1. Get a list of Shared Drives and managers (easier if you just add yourself or a service account as a manager to every shared drive)
2. Print list of files in all the shared drives including size
3. Sum them up

Will Sultzer

unread,
Jan 25, 2024, 12:22:47 PM1/25/24
to GAM for Google Workspace
When I attempt to run that first command it seems to not like 'ns_susp'

Ross Scroggs

unread,
Jan 25, 2024, 12:26:07 PM1/25/24
to google-ap...@googlegroups.com
It's missing an _
gam config auto_batch_min 1 redirect csv - multiprocess todrive all users_ns_susp print drivesettings, you will see usageInDrive column.
----
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 on the web visit https://groups.google.com/d/msgid/google-apps-manager/b5ea75c5-5b9d-463a-8439-4a1740283dd4n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages