mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-05 13:21:35 +00:00
Compare commits
2 Commits
v7.46.07
...
sys-deps-u
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7cca639a27 | ||
|
|
e79747bc55 |
@@ -16,7 +16,7 @@ dependencies = [
|
|||||||
"google-api-python-client==2.197.0",
|
"google-api-python-client==2.197.0",
|
||||||
"google-auth-httplib2==0.4.0",
|
"google-auth-httplib2==0.4.0",
|
||||||
"google-auth-oauthlib==1.4.0",
|
"google-auth-oauthlib==1.4.0",
|
||||||
"google-auth==2.55.1",
|
"google-auth==2.55.0",
|
||||||
"httplib2==0.31.2",
|
"httplib2==0.31.2",
|
||||||
"lxml==6.1.1",
|
"lxml==6.1.1",
|
||||||
"passlib==1.7.4",
|
"passlib==1.7.4",
|
||||||
|
|||||||
@@ -10,6 +10,31 @@ 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
|
See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation
|
||||||
|
|
||||||
|
### 7.46.07
|
||||||
|
|
||||||
|
Added command `gam show configlicenseskus` that can be used to generate a command
|
||||||
|
that sets the list of used license SKUs in gam.cfg; this improves performance of `gam info user`.
|
||||||
|
```
|
||||||
|
gam show configlicenseskus
|
||||||
|
Got 0 Licenses for 1010010001 (Cloud Identity Free)...
|
||||||
|
Got 0 Licenses for 1010050001 (Cloud Identity Premium)...
|
||||||
|
...
|
||||||
|
Got 2 Licenses for 1010340007 (Google Workspace for Education Fundamentals - Archived User)...
|
||||||
|
...
|
||||||
|
Got 100 Licenses for 1010070001 (Google Workspace for Education Fundamentals)...
|
||||||
|
Got 200 Licenses for 1010070001 (Google Workspace for Education Fundamentals)...
|
||||||
|
Got 300 Licenses for 1010070001 (Google Workspace for Education Fundamentals)...
|
||||||
|
Got 358 Licenses for 1010070001 (Google Workspace for Education Fundamentals)...
|
||||||
|
Got 2 Licenses for 1010070004 (Google Workspace for Education Gmail Only)...
|
||||||
|
...
|
||||||
|
Got 0 Licenses for Google-Vault (Google Vault)...
|
||||||
|
Got 0 Licenses for Google-Vault-Former-Employee (Google Vault - Former Employee)...
|
||||||
|
To set license_skus in gam.cfg, execute the following command:
|
||||||
|
gam config license_skus "1010340007,1010070001,1010070004" save verify variables license_skus
|
||||||
|
```
|
||||||
|
|
||||||
|
* See: https://github.com/GAM-team/GAM/wiki/Licenses#info-user-performance
|
||||||
|
|
||||||
### 7.46.06
|
### 7.46.06
|
||||||
|
|
||||||
Updated GAM to suppress the following message:
|
Updated GAM to suppress the following message:
|
||||||
|
|||||||
@@ -747,4 +747,4 @@ Windows PowerShell
|
|||||||
$count = & gam print groups showitemcountonly
|
$count = & gam print groups showitemcountonly
|
||||||
Windows Command Prompt
|
Windows Command Prompt
|
||||||
for /f "delims=" %a in ('gam print groups showitemcountonly') do set count=%a
|
for /f "delims=" %a in ('gam print groups showitemcountonly') do set count=%a
|
||||||
|
```
|
||||||
|
|||||||
@@ -251,7 +251,7 @@ writes the credentials into the file oauth2.txt.
|
|||||||
```
|
```
|
||||||
gamteam@server:/Users/gamteam$ rm -f /Users/gamteam/GAMConfig/oauth2.txt
|
gamteam@server:/Users/gamteam$ rm -f /Users/gamteam/GAMConfig/oauth2.txt
|
||||||
gamteam@server:/Users/gamteam$ gam version
|
gamteam@server:/Users/gamteam$ gam version
|
||||||
GAM 7.46.06 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.46.07 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.14.6 64-bit final
|
Python 3.14.6 64-bit final
|
||||||
macOS Tahoe 26.5.1 arm64
|
macOS Tahoe 26.5.1 arm64
|
||||||
@@ -1034,7 +1034,7 @@ writes the credentials into the file oauth2.txt.
|
|||||||
```
|
```
|
||||||
C:\>del C:\GAMConfig\oauth2.txt
|
C:\>del C:\GAMConfig\oauth2.txt
|
||||||
C:\>gam version
|
C:\>gam version
|
||||||
GAM 7.46.06 - https://github.com/GAM-team/GAM - pythonsource
|
GAM 7.46.07 - https://github.com/GAM-team/GAM - pythonsource
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.14.6 64-bit final
|
Python 3.14.6 64-bit final
|
||||||
Windows 11 10.0.26200 AMD64
|
Windows 11 10.0.26200 AMD64
|
||||||
|
|||||||
@@ -249,25 +249,47 @@ If you do a couple of info user commands back to back, you start to run into quo
|
|||||||
|
|
||||||
You can help yourself in the following way: generate a list of all of the license SKUs that exist in your workspace.
|
You can help yourself in the following way: generate a list of all of the license SKUs that exist in your workspace.
|
||||||
```
|
```
|
||||||
gam config csv_output_row_filter "licenses:count>0" print license countsonly allskus
|
gam show configlicenseskus
|
||||||
Got 0 Licenses for 1010010001 (Cloud Identity)...
|
Got 0 Licenses for 1010010001 (Cloud Identity Free)...
|
||||||
Got 0 Licenses for 1010050001 (Cloud Identity Premium)...
|
Got 0 Licenses for 1010050001 (Cloud Identity Premium)...
|
||||||
...
|
...
|
||||||
|
Got 2 Licenses for 1010340007 (Google Workspace for Education Fundamentals - Archived User)...
|
||||||
|
...
|
||||||
|
Got 100 Licenses for 1010070001 (Google Workspace for Education Fundamentals)...
|
||||||
|
Got 200 Licenses for 1010070001 (Google Workspace for Education Fundamentals)...
|
||||||
|
Got 300 Licenses for 1010070001 (Google Workspace for Education Fundamentals)...
|
||||||
|
Got 358 Licenses for 1010070001 (Google Workspace for Education Fundamentals)...
|
||||||
|
Got 2 Licenses for 1010070004 (Google Workspace for Education Gmail Only)...
|
||||||
|
...
|
||||||
Got 0 Licenses for Google-Vault (Google Vault)...
|
Got 0 Licenses for Google-Vault (Google Vault)...
|
||||||
Got 0 Licenses for Google-Vault-Former-Employee (Google Vault - Former Employee)...
|
Got 0 Licenses for Google-Vault-Former-Employee (Google Vault - Former Employee)...
|
||||||
productId,productDisplay,skuId,skuDisplay,licenses
|
To set license_skus in gam.cfg, execute the following command:
|
||||||
101031,Google Workspace for Education,1010310008,Google Workspace for Education Plus,410
|
gam config license_skus "1010340007,1010070001,1010070004" save verify variables license_skus
|
||||||
101031,Google Workspace for Education,1010310009,Google Workspace for Education Plus (Staff),103
|
|
||||||
101033,Google Voice,1010330004,Google Voice Standard,3
|
|
||||||
Google-Apps,Google Workspace,1010070001,Google Workspace for Education Fundamentals,1453
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Then do (example, use your actual list):
|
Then do (example, use your actual list):
|
||||||
`gam config license_skus 1010310008,1010310009,1010330004,1010070001 save`
|
```
|
||||||
|
gam config license_skus 1010310008,1010310009,1010330004,1010070001 save verify variables license_skus
|
||||||
|
Config File: /Users/gamteam/GamConfig/gam.cfg, Saved
|
||||||
|
Section: DEFAULT
|
||||||
|
license_skus = 1010340007,1010070001,1010070004
|
||||||
|
```
|
||||||
|
|
||||||
Now, rather that asking 73 questions per user, GAM will only ask about the license SKUs in the list.
|
Now, rather that asking 73 questions per user, GAM will only ask about the license SKUs in the list.
|
||||||
It is much less likely that quota issues will occur,
|
It is much less likely that quota issues will occur,
|
||||||
|
|
||||||
|
You can script this:
|
||||||
|
```
|
||||||
|
Linux/MacOS
|
||||||
|
eval $(gam show configlicenseskus)
|
||||||
|
Windows PowerShell
|
||||||
|
iex $(gam show configlicenseskus)
|
||||||
|
Windows Command Prompt
|
||||||
|
for /f "delims=" %a in ('gam show configlicenseskus') do @(%a)
|
||||||
|
Windows Batch File
|
||||||
|
for /f "delims=" %%a in ('gam show configlicenseskus') do @(%%a)
|
||||||
|
```
|
||||||
|
|
||||||
## Display license counts
|
## Display license counts
|
||||||
```
|
```
|
||||||
gam show licenses
|
gam show licenses
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
Print the current version of Gam with details
|
Print the current version of Gam with details
|
||||||
```
|
```
|
||||||
gam version
|
gam version
|
||||||
GAM 7.46.06 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.46.07 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.14.6 64-bit final
|
Python 3.14.6 64-bit final
|
||||||
macOS Tahoe 26.5.1 arm64
|
macOS Tahoe 26.5.1 arm64
|
||||||
@@ -15,7 +15,7 @@ Time: 2026-02-15T07:51:00-08:00
|
|||||||
Print the current version of Gam with details and time offset information
|
Print the current version of Gam with details and time offset information
|
||||||
```
|
```
|
||||||
gam version timeoffset
|
gam version timeoffset
|
||||||
GAM 7.46.06 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.46.07 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.14.6 64-bit final
|
Python 3.14.6 64-bit final
|
||||||
macOS Tahoe 26.5.1 arm64
|
macOS Tahoe 26.5.1 arm64
|
||||||
@@ -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
|
Print the current version of Gam with extended details and SSL information
|
||||||
```
|
```
|
||||||
gam version extended
|
gam version extended
|
||||||
GAM 7.46.06 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.46.07 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.14.6 64-bit final
|
Python 3.14.6 64-bit final
|
||||||
macOS Tahoe 26.5.1 arm64
|
macOS Tahoe 26.5.1 arm64
|
||||||
@@ -35,21 +35,23 @@ Path: /Users/gamteam/bin/gam7
|
|||||||
Config File: /Users/gamteam/GamConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
Config File: /Users/gamteam/GamConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
||||||
Time: 2026-02-15T07:51:00-08:00
|
Time: 2026-02-15T07:51:00-08:00
|
||||||
Your system time differs from admin.googleapis.com by less than 1 second
|
Your system time differs from admin.googleapis.com by less than 1 second
|
||||||
OpenSSL 4.0.1 9 Jun 2026
|
OpenSSL 3.5.7 9 Jun 2026
|
||||||
arrow 1.4.0
|
arrow 1.4.0
|
||||||
chardet 7.4.3
|
chardet 7.4.3
|
||||||
cryptography 48.0.0
|
charset_normalizer 3.4.7
|
||||||
filelock 3.29.0
|
cryptography 48.0.1
|
||||||
google-api-python-client 2.196.0
|
filelock 3.29.4
|
||||||
|
google-api-python-client 2.197.0
|
||||||
google-auth-httplib2 0.4.0
|
google-auth-httplib2 0.4.0
|
||||||
google-auth-oauthlib 1.4.0
|
google-auth-oauthlib 1.4.0
|
||||||
google-auth 2.53.0
|
google-auth 2.55.1
|
||||||
lxml 6.1.1
|
lxml 6.1.1
|
||||||
httplib2 0.31.2
|
httplib2 0.31.2
|
||||||
passlib 1.7.4
|
passlib 1.7.4
|
||||||
pathvalidate 3.3.1
|
pathvalidate 3.3.1
|
||||||
pyscard 2.3.1
|
pyscard 2.3.0
|
||||||
yubikey-manager 5.9.1
|
urllib3 2.7.0
|
||||||
|
yubikey-manager 5.8.0
|
||||||
admin.googleapis.com connects using TLSv1.3 TLS_AES_256_GCM_SHA384
|
admin.googleapis.com connects using TLSv1.3 TLS_AES_256_GCM_SHA384
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -68,7 +70,7 @@ MacOS High Sierra 10.13.6 x86_64
|
|||||||
Path: /Users/gamteam/bin/gam7
|
Path: /Users/gamteam/bin/gam7
|
||||||
Version Check:
|
Version Check:
|
||||||
Current: 5.35.08
|
Current: 5.35.08
|
||||||
Latest: 7.46.06
|
Latest: 7.46.07
|
||||||
echo $?
|
echo $?
|
||||||
1
|
1
|
||||||
```
|
```
|
||||||
@@ -76,7 +78,7 @@ echo $?
|
|||||||
Print the current version number without details
|
Print the current version number without details
|
||||||
```
|
```
|
||||||
gam version simple
|
gam version simple
|
||||||
7.46.06
|
7.46.07
|
||||||
```
|
```
|
||||||
In Linux/MacOS you can do:
|
In Linux/MacOS you can do:
|
||||||
```
|
```
|
||||||
@@ -86,7 +88,7 @@ echo $VER
|
|||||||
Print the current version of Gam and address of this Wiki
|
Print the current version of Gam and address of this Wiki
|
||||||
```
|
```
|
||||||
gam help
|
gam help
|
||||||
GAM 7.46.06 - https://github.com/GAM-team/GAM
|
GAM 7.46.07 - https://github.com/GAM-team/GAM
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.14.6 64-bit final
|
Python 3.14.6 64-bit final
|
||||||
macOS Tahoe 26.5.1 arm64
|
macOS Tahoe 26.5.1 arm64
|
||||||
|
|||||||
Reference in New Issue
Block a user