Skip to content

Version and Help

Jim Garrison edited this page Mar 11, 2023 · 1 revision

Version and Help

Print the current version of Gam with details

gam version
GAMADV-XTD3 6.50.14 - https://github.com/taers232c/GAMADV-XTD3
Ross Scroggs <[email protected]>
Python 3.11.2 64-bit final
MacOS High Sierra 10.13.6 x86_64
Path: /Users/Admin/bin/gamadv-xtd3
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain.com

Print the current version of Gam with details and time offset information

gam version timeoffset
GAMADV-XTD3 6.50.14 - https://github.com/taers232c/GAMADV-XTD3
Ross Scroggs <[email protected]>
Python 3.11.2 64-bit final
MacOS High Sierra 10.13.6 x86_64
Path: /Users/Admin/bin/gamadv-xtd3
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain.com
Your system time differs from www.googleapis.com by less than 1 second

Print the current version of Gam with details and SSL information

gam version extended
GAMADV-XTD3 6.50.14 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource
Ross Scroggs <[email protected]>
Python 3.11.2 64-bit final
MacOS High Sierra 10.13.6 x86_64
Path: /Users/Admin/bin/gamadv-xtd3
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain.com
Your system time differs from admin.googleapis.com by less than 1 second
OpenSSL 3.0.8 7 Feb 2023
cryptography 39.0.1
google-api-python-client 2.77.0
admin.googleapis.com connects using TLSv1.3 TLS_AES_256_GCM_SHA384###
Your system time differs from www.googleapis.com by less than 1 second

Print the current and latest versions of Gam and:

  • set the return code to 0 if the current version is the latest version
  • set the return code to 1 if the current version is not the latest
gam version checkrc
GAM 5.35.08 - https://github.com/taers232c/GAMADV-XTD3
Ross Scroggs <[email protected]>
Python 3.8.1 64-bit final
google-api-python-client 2.77.0
httplib2 0.16.0
oauth2client 4.1.3
MacOS High Sierra 10.13.6 x86_64
Path: /Users/Admin/bin/gamadv-xtd3
Version Check:
  Current: 5.35.08
   Latest: 6.50.14
echo $?
1

Print the current version number without details

gam version simple
6.50.14

In Linux/MacOS you can do:

VER=`gam version simple`
echo $VER

Print the current version of Gam and address of this Wiki

gam help
GAM 6.50.14 - https://github.com/taers232c/GAMADV-XTD3
Ross Scroggs <[email protected]>
Python 3.11.2 64-bit final
MacOS High Sierra 10.13.6 x86_64
Path: /Users/Admin/bin/gamadv-xtd3
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain.com
Help: Syntax in file /Users/Admin/bin/gamadv-xtd3/GamCommands.txt
Help: Documentation is at https://github.com/taers232c/GAMADV-XTD3/wiki

Update History

Installation

Configuration

Notes and Information

Definitions

Command Processing

Collections

Client Access

Special Service Account Access

Service Account Access

Clone this wiki locally