From f09a1e1bd626afe6e8f5ba2f862b0a8956269b4f Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Fri, 30 May 2025 06:22:49 -0700 Subject: [PATCH] Added option `oneuserperrow` to `gam print devices` --- wiki/Cloud-Identity-Devices.md | 5 ++++- wiki/GamUpdates.md | 5 +++++ wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md | 4 ++-- wiki/Version-and-Help.md | 12 ++++++------ 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/wiki/Cloud-Identity-Devices.md b/wiki/Cloud-Identity-Devices.md index 1f19b0d2..2a5fc8d8 100644 --- a/wiki/Cloud-Identity-Devices.md +++ b/wiki/Cloud-Identity-Devices.md @@ -210,7 +210,7 @@ gam print devices [todrive *] * [fields ] [userfields ] [orderby [ascending|descending]] [all|company|personal|nocompanydevices|nopersonaldevices] - [nodeviceusers] + [nodeviceusers|oneuserperrow] [formatjson [quotechar ]] ``` By default, all devices are displayed; use the query options to limit the display. @@ -231,6 +231,9 @@ Select the view of devices to display: By default, Gam makes additional API calls to display the device users for the devices; use `nodeviceuser` to suppress making the additional calls. +By default, when device users are displayed, they are all displayed on one row; +use `oneuserperrow` to have each of a device's users displayed on a separate row with all of the other device fields. + By default, Gam displays the information as columns of fields; the following option causes the output to be in JSON format, * `formatjson` - Display the fields in JSON format. diff --git a/wiki/GamUpdates.md b/wiki/GamUpdates.md index f9c5c34a..6343a918 100644 --- a/wiki/GamUpdates.md +++ b/wiki/GamUpdates.md @@ -10,6 +10,11 @@ Add the `-s` option to the end of the above commands to suppress creating the `g See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation +### 7.07.17 + +Added option `oneuserperrow` to `gam print devices` to have each of a +device's users displayed on a separate row with all of the other device fields. + ### 7.07.16 Added `chromeostype`, `diskspaceusage` and `faninfo` to `` for use in `gam info|print cros`. diff --git a/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md b/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md index 9aeab01f..f8bb534d 100644 --- a/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md +++ b/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md @@ -251,7 +251,7 @@ writes the credentials into the file oauth2.txt. admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt admin@server:/Users/admin$ gam version WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found -GAM 7.07.16 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.07.17 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.3 64-bit final MacOS Sequoia 15.5 x86_64 @@ -989,7 +989,7 @@ writes the credentials into the file oauth2.txt. C:\>del C:\GAMConfig\oauth2.txt C:\>gam version WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found -GAM 7.07.16 - https://github.com/GAM-team/GAM - pythonsource +GAM 7.07.17 - https://github.com/GAM-team/GAM - pythonsource GAM Team Python 3.13.3 64-bit final Windows-10-10.0.17134 AMD64 diff --git a/wiki/Version-and-Help.md b/wiki/Version-and-Help.md index 7ed93851..69f3da9b 100644 --- a/wiki/Version-and-Help.md +++ b/wiki/Version-and-Help.md @@ -3,7 +3,7 @@ Print the current version of Gam with details ``` gam version -GAM 7.07.16 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.07.17 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.3 64-bit final MacOS Sequoia 15.5 x86_64 @@ -15,7 +15,7 @@ Time: 2023-06-02T21:10:00-07:00 Print the current version of Gam with details and time offset information ``` gam version timeoffset -GAM 7.07.16 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.07.17 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.3 64-bit final MacOS Sequoia 15.5 x86_64 @@ -27,7 +27,7 @@ Your system time differs from www.googleapis.com by less than 1 second Print the current version of Gam with extended details and SSL information ``` gam version extended -GAM 7.07.16 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.07.17 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.3 64-bit final MacOS Sequoia 15.5 x86_64 @@ -64,7 +64,7 @@ MacOS High Sierra 10.13.6 x86_64 Path: /Users/Admin/bin/gam7 Version Check: Current: 5.35.08 - Latest: 7.07.16 + Latest: 7.07.17 echo $? 1 ``` @@ -72,7 +72,7 @@ echo $? Print the current version number without details ``` gam version simple -7.07.16 +7.07.17 ``` In Linux/MacOS you can do: ``` @@ -82,7 +82,7 @@ echo $VER Print the current version of Gam and address of this Wiki ``` gam help -GAM 7.07.16 - https://github.com/GAM-team/GAM +GAM 7.07.17 - https://github.com/GAM-team/GAM GAM Team Python 3.13.3 64-bit final MacOS Sequoia 15.5 x86_64