Updated gam delete chromepolicy to delete apps

This commit is contained in:
Ross Scroggs 2025-12-04 12:40:06 -08:00
parent 3c09743f34
commit 07b3e89809
No known key found for this signature in database
GPG Key ID: 54585EA0887857D5
4 changed files with 21 additions and 8 deletions

View File

@ -9,6 +9,7 @@
- [Create a Chrome policy image](#create-a-chrome-policy-image)
- [Update Chrome policy](#update-chrome-policy)
- [Delete Chrome policy](#delete-chrome-policy)
- [Delete Chrome app](#delete-chrome-app)
- [Display Chrome policies](#display-chrome-policies)
- [Copy simple policies set directly in one OU to another OU](#copy-simple-policies-set-directly-in-one-ou-to-another-ou)
- [Copy simple and complex policies set directly in one OU to another OU](#copy-simple-and-complex-policies-set-directly-in-one-ou-to-another-ou)
@ -265,6 +266,13 @@ gam delete chromepolicy
((ou|orgunit <OrgUnitItem>)|(group <GroupItem>))
[(printerid <PrinterID>)|(appid <AppID>)]
```
## Delete Chrome app
You can delete an app, i.e., explicitly remove it from management. `<OrgUnitItem>` must specify where the app was added for management.
```
gam delete chromepolicy chrome.users.apps.InstallType ou|orgunit <OrgUnitItem> appid <AppID>
```
## Display Chrome policies
You can display policies for all devices/users within an OU, users with a group or for a specific printer or application within an OU.

View File

@ -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.29.04
Updated `gam delete chromepolicy chrome.users.apps.InstallType ou <OrgUnitItem> appid <AppID>`
to allow deleting an app, i.e., explicitly remove it from management. `<OrgUnitItem>` must specify where it was added for management.
### 7.29.03
Remove debugging message from `gam <UserTypeEntity> move drivefile <DriveFileEntity>`.

View File

@ -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.29.03 - https://github.com/GAM-team/GAM - pyinstaller
GAM 7.29.04 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com>
Python 3.14.1 64-bit final
macOS Tahoe 26.1 x86_64
@ -990,7 +990,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.29.03 - https://github.com/GAM-team/GAM - pythonsource
GAM 7.29.04 - https://github.com/GAM-team/GAM - pythonsource
GAM Team <google-apps-manager@googlegroups.com>
Python 3.14.1 64-bit final
Windows 11 10.0.26200 AMD64

View File

@ -3,7 +3,7 @@
Print the current version of Gam with details
```
gam version
GAM 7.29.03 - https://github.com/GAM-team/GAM - pyinstaller
GAM 7.29.04 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com>
Python 3.14.1 64-bit final
macOS Tahoe 26.1 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.29.03 - https://github.com/GAM-team/GAM - pyinstaller
GAM 7.29.04 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com>
Python 3.14.1 64-bit final
macOS Tahoe 26.1 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.29.03 - https://github.com/GAM-team/GAM - pyinstaller
GAM 7.29.04 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com>
Python 3.14.1 64-bit final
macOS Tahoe 26.1 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.29.03
Latest: 7.29.04
echo $?
1
```
@ -76,7 +76,7 @@ echo $?
Print the current version number without details
```
gam version simple
7.29.03
7.29.04
```
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.29.03 - https://github.com/GAM-team/GAM
GAM 7.29.04 - https://github.com/GAM-team/GAM
GAM Team <google-apps-manager@googlegroups.com>
Python 3.14.1 64-bit final
macOS Tahoe 26.1 x86_64