Added option addcsvdata <FieldName> <String> to gam report customers|users

This commit is contained in:
Ross Scroggs
2025-10-30 14:47:31 -07:00
parent 158f24917c
commit 213bf45942
3 changed files with 48 additions and 6 deletions

View File

@@ -1,3 +1,14 @@
7.27.06
Added option `addcsvdata <FieldName> <String>` to `gam report customers|users`
that adds additional columns of data to the CSV file output. This will be most useful
when reading a CSV of user information and you want to include some of the user information,
e.g., orgUnitPath, in the output.
```
gam redirect csv ./Users.csv print users fields ou
gam redirect csv ./UserStorageInfo.csv multiprocess csv Users.csv gam report users user "~primaryEmail" parameters accounts:drive_used_quota_in_mb,accounts:gmail_used_quota_in_mb,accounts:gplus_photos_used_quota_in_mb,accounts:total_quota_in_mb,accounts:used_quota_in_mb,accounts:used_quota_in_percentage addcsvdata orgUnitPath "~orgUnitPath"
```
7.27.05
Added option `addcsvdata <FieldName> <String>` to `gam print courses`