diff --git a/wiki/Chrome-Policies.md b/wiki/Chrome-Policies.md index bb3a1b36..8ab1e9f6 100644 --- a/wiki/Chrome-Policies.md +++ b/wiki/Chrome-Policies.md @@ -282,10 +282,11 @@ gam show chromepolicies ((ou|orgunit [show all|direct|inherited])|(group )) [(printerid )|(appid )] [filter ] [namespace ] + [show all|direct|inherited] [formatjson] ``` By default, all Chrome policies for the OU or group are displayed. -* `filter ` - Display policies based on fields like its resource name, description and additionalTargetKeyNames. +* `filter ` - Display policies based on fields like its resource name, description and additionalTargetKeyNames. * `show all` - For OUs, display policies regardless of where set; this is the default * `show direct` - For OUs, display policies set directly in the OU * `show inherited` - For OUs, display policies set in a parent OU @@ -329,15 +330,25 @@ By default, Gam displays the information as an indented list of keys and values. gam print chromepolicies [todrive *] ((ou|orgunit [show all|direct|inherited])|(group )) [(printerid )|(appid )] - [filter ] [namespace ] + [filter ] [namespace ] + [show all|direct|inherited] [shownopolicy] [[formatjson [quotechar ]] ``` By default, all Chrome policies for the OU or group are displayed. -* `filter ` - Display policies based on fields like its resource name, description and additionalTargetKeyNames. +* `filter ` - Display policies based on fields like its resource name, description and additionalTargetKeyNames. * `show all` - For OUs, display policies regardless of where set; this is the default * `show direct` - For OUs, display policies set directly in the OU * `show inherited` - For OUs, display policies set in a parent OU +Use option `shownopolicy` to display output like the following if no policies apply to the OU or group. +``` +gam print chromepolicies ou /Test appid chrome:emidddocikgklceeeifefomdnbkldhng namespace chrome.users.apps shownopolicy +Getting all Chrome Policies that match query (chrome.users.apps.*) for /Test +Got 0 Chrome Policies that matched query (chrome.users.apps.*) for /Test... +name,orgUnitPath,parentOrgUnitPath,direct,appId +noPolicy,/Test,/,False,chrome:emidddocikgklceeeifefomdnbkldhng +``` + These are the default namespaces; use `namespace ` to override. * `default` * chrome.users diff --git a/wiki/GamUpdates.md b/wiki/GamUpdates.md index e1787476..a58c0801 100644 --- a/wiki/GamUpdates.md +++ b/wiki/GamUpdates.md @@ -10,6 +10,18 @@ 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.33.01 + +Added option `shownopolicy` to `gam print chromepolicies` that will display output like the following +if no policies apply to the selected OU or group. +``` +gam print chromepolicies ou /Test appid chrome:emidddocikgklceeeifefomdnbkldhng namespace chrome.users.apps shownopolicy +Getting all Chrome Policies that match query (chrome.users.apps.*) for /Test +Got 0 Chrome Policies that matched query (chrome.users.apps.*) for /Test... +name,orgUnitPath,parentOrgUnitPath,direct,appId +noPolicy,/Test,/,False,chrome:emidddocikgklceeeifefomdnbkldhng +``` + ### 7.33.00 Added variable `developer_preview_apis` to `gam.cfg` that is a comma separated list of APIs requiring a Developer Preview key. diff --git a/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md b/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md index 20c191b5..4356b382 100644 --- a/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md +++ b/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md @@ -252,7 +252,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.33.00 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.33.01 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.14.2 64-bit final macOS Tahoe 26.2 x86_64 @@ -1034,7 +1034,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.33.00 - https://github.com/GAM-team/GAM - pythonsource +GAM 7.33.01 - https://github.com/GAM-team/GAM - pythonsource GAM Team Python 3.14.2 64-bit final Windows 11 10.0.26200 AMD64 diff --git a/wiki/Users-Group-Membership.md b/wiki/Users-Group-Membership.md index 76588e0f..c15935ef 100644 --- a/wiki/Users-Group-Membership.md +++ b/wiki/Users-Group-Membership.md @@ -586,6 +586,9 @@ Getting all Groups for testuser1@domain.com (1/2) Getting all Groups for testuser2@domain.com (2/2) User,Groups,GroupsList testuser2@domain.com,0, + +# Get group membership for all users +$ gam config auto_batch_min 1 num_threads 10 redirect csv ./UsersGroups.csv multiprocess sortheaders User,Group redirect stderr - multiprocess all users print groups ``` ### Display groups and their parents Display a user's groups and their parents as an indented list. diff --git a/wiki/Version-and-Help.md b/wiki/Version-and-Help.md index 3d9fc213..53b16565 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.33.00 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.33.01 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.14.2 64-bit final macOS Tahoe 26.2 x86_64 @@ -15,7 +15,7 @@ Time: 2025-12-23T13:57:00-08:00 Print the current version of Gam with details and time offset information ``` gam version timeoffset -GAM 7.33.00 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.33.01 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.14.2 64-bit final macOS Tahoe 26.2 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.33.00 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.33.01 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.14.2 64-bit final macOS Tahoe 26.2 x86_64 @@ -68,7 +68,7 @@ MacOS High Sierra 10.13.6 x86_64 Path: /Users/Admin/bin/gam7 Version Check: Current: 5.35.08 - Latest: 7.33.00 + Latest: 7.33.01 echo $? 1 ``` @@ -76,7 +76,7 @@ echo $? Print the current version number without details ``` gam version simple -7.33.00 +7.33.01 ``` In Linux/MacOS you can do: ``` @@ -86,7 +86,7 @@ echo $VER Print the current version of Gam and address of this Wiki ``` gam help -GAM 7.33.00 - https://github.com/GAM-team/GAM +GAM 7.33.01 - https://github.com/GAM-team/GAM GAM Team Python 3.14.2 64-bit final macOS Tahoe 26.2 x86_64