Scroll to bottom of page for installation/downloads
Latest updates
6.57.07
Updated code to recognize the following Google Drive API error that is issued when Google
doesn't recognize an email address as valid.
$ gam user user@domain.com print filelist query "'j@ab.net' in writers" fields id,name
Getting all Drive Files/Folders that match query ('me' in owners and ('j@ab.net' in writers)) for user@domain.com
ERROR: 400: badRequest - Bad Request
$ gam user user@domain.com print filelist query "'j@ab.com' in writers" fields id,name
Getting all Drive Files/Folders that match query ('me' in owners and ('j@ab.com' in writers)) for user@domain.com
Got 0 Drive Files/Folders that matched query ('me' in owners and ('j@ab.com' in writers)) for user@domain.com...
Owner,id,name
6.57.06
Added inherited <Boolean>
to <PermissionMatch>
that applies only to Shared Drive files/folders;
this makes it easy to identify files/folders on Shared Drive with non-inherited permissions.
gam user organizer@domain.com print filelist select teamdriveid <TeamDriveID> fields id,name,mimetype pm inherited false em pmfilter oneitemperrow
This clause will always cause a permission match failure on My Drive files/folders.
6.57.05
Updated gam batch <BatchContent>
and gam tbatch <BatchContent>
commands to accept lines with the following form:
clear keyword
This can improve performance as subsequent lines in <BatchContent>
will not be scanned for %keyword%
.
6.57.04
Updated gam batch <BatchContent>
and gam tbatch <BatchContent>
commands to accept lines with the following form:
set keyword value
Subsequent lines in <BatchContent>
will have %keyword%
replaced with value
.
6.57.03
Updated gam <UserTypeEntity> info|print|show contacts|othercontacts
and
gam info|print|show peoplecontacts|peopleprofiles
to default to displaying the fields names,emailaddresses,phonenumbers
as documented rather than all fields.
6.57.02
Following Jay's lead, removed Google bug (237397223) workaround code in
gam print devices|deviceusers|crostelemetry
as the bug is now fixed.
6.57.01
Updated gam <UserTypeEntity> vacation
to handle the following error:
ERROR: 400: failedPrecondition - Precondition check failed.
What the error means is unknown to me at the moment.
Updated GAM so that when the current project ID is required, it will first try to get it from oauth2service.json and
if not successful, try to get it from client_secrets.json. There are cases, e.g., when DASA is enabled,
that client_secrets.json is not present.
Previously, GAM checked for the existence of client_secrets.json on every command; this check has been
eliminated as the file is only required by gam oauth create
.
6.57.00
Following Jay's lead, updated gam create admin
to allow assignment of a delegated admin role to a group.
Updated gam print admins
to display whether a role is assigned to a user or a group.
Updated version number to align with Standard GAM.
6.54.06
Added options users <EmailAddressList>
and groups <EmailAddressList>
to gam print aliases
that is more
efficient for getting aliases for specific users and groups.
Added option select <UserTypeEntity>
to gam print aliases
that allows specification of a list users by <UserTypeEntity>
;
e.g., a group or an org unit.
Added option delimiter <Character>
to gam print aliases
that is applicable when option onerowpertarget
is specified.
Previously, multiple aliases were separated by a space character. Now, by default, the aliases are separated by the csv_output_field_delimiter' from
gam.cfg. The option
delimiter ` overrides that value.
6.54.05
Added option addcsvdata <FieldName> <String>
to gam print aliases
. This adds additional columns of data to the CSV file output.
This can be used when printing aliases for departed employees to indicate the new target for the user's alises. Subsequent
commands using the CSV file can reassign the aliases to the new target.
6.54.04
Updated gam print|show channelcustomerentitlements
to handle the following error when
none of gam.cfg/channel_customer_id
or command line arguments channelcustomerid
or name
are set.
ERROR: Parameter "parent" value "accounts/C03kt1789/customers/" does not match the pattern "^accounts/[^/]+/customers/[^/]+$"
6.54.03
By special request, British spelling of various keywords/arguments is now available.
backgroundcolor backgroundcolour
color colour
colorindex colourindex
costcenter costcentre
fileorganizer fileorganiser
foregroundcolor foregroundcolour
license licence
licenses licences
nolicenses nolicences
organization organisation
organizationname organisationname
organizations organisations
organizer organiser
organizeremail organiseremail
organizername organisername
textcolor textcolour
6.54.02
Updated gam <UserTypeEntity> get photo
and gam <UserTypeEntity> get profilephoto
to inspect the
photo data and add the appropriate extension: jpg
, png
, gif
. If the type of the photo can't be
determined, img
is used as the extenstion. If you use [filename <FileNamePattern>]
, #ext#
will be replaced
with the extension.
Updated gam <UserTypeEntity> [create|add] sendas <EmailAddress> [name] <String>
to allow the
optional argument name
before <String>
to make clear that <String>
is the sendas display name.
6.54.01
Added commands to export messages/threads in EML/raw format.
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Gmail-Messages-Threads#export-messagesthreads
6.54.00
Following Jay's lead, updated gam delete inboundssoassignment <SSOAssignmentSelector>
to allow
more flexibility in selecting assignments to delete.
Fixed bug in gam <UserTypeEntity> print|show filesharecounts
that would cause a trap.
Updated gam <UserTypeEntity> print filelist ... fullpath showparent
and gam <UserTypeEntity> print filepath
to properly display the file path of My Drive.
Upgraded to Python 3.11.3 where possible.
Added commands to create and delete Chrome networks.
gam create chromenetwork
<OrgUnitItem> <String> <JSONData>
gam delete chromenetwork
<OrgUnitItem> <NetworkID>
Installation
If you are a first time Gam user:
If you are updating your GAMADV-XTD3 version:
If you are upgrading from standard Gam
If you are upgrading from GAMADV-X or GAMADV-XTD
sha256 hashes
15126b5b627c06b7e28e7f3f3521e809e6917a37f9b1d8e72de5a5eb69fbef1e gamadv-xtd3-6.57.07-linux-arm64-glibc2.23.tar.xz
21b77941184631fb21b9fd5f91b8148b4261aa20f82dc8781fbdb060029368cd gamadv-xtd3-6.57.07-linux-arm64-glibc2.27.tar.xz
ef95e6efd9261dcaf0ad7a22d45f73081018cfc08da893e80cd92cb8dced8d22 gamadv-xtd3-6.57.07-linux-arm64-glibc2.31.tar.xz
fa5462596da2a3a8f719e09780c2b7478e7e9cee2c305a08cf5e481212994b11 gamadv-xtd3-6.57.07-linux-x86_64-glibc2.19.tar.xz
42a1398d5ec03ab7552efcf6bf5c821b90118dcc2b917ce27d0e9bf13b1aaefc gamadv-xtd3-6.57.07-linux-x86_64-glibc2.23.tar.xz
87730cc2ca3b5120200c2dfffa31aea231d45edd6dc94c2390329bb96c481e6e gamadv-xtd3-6.57.07-linux-x86_64-glibc2.27.tar.xz
f372e44595af96b03c9cd8711d78c6a0671b09400c3512bdcabc5f9ed01c341b gamadv-xtd3-6.57.07-linux-x86_64-glibc2.31.tar.xz
a9e6fc1eb40addbd28f609cb67eadb7059e241fb866bdc6f84308bd3afb9b617 gamadv-xtd3-6.57.07-linux-x86_64-glibc2.35.tar.xz
4a6f8ba7bd5ddbc8d26c4843a06043c178c5d38bb9e2ca99bdf987970bff9513 gamadv-xtd3-6.57.07-linux-x86_64-legacy.tar.xz
4bc76fd077fbb76da7b23c93fbb4b66fed8aa2d0163a1b6d53a88e4a8413f782 gamadv-xtd3-6.57.07-macos-arm64.tar.xz
523199ed78d8bd69cb3f248b8c5739d1f3d647f847cecc80e5223b200dda41d8 gamadv-xtd3-6.57.07-macos-x86_64-legacy.tar
0f47984943d96a42d6f261d0034202c48956d634e546313559c796cd3c704dbc gamadv-xtd3-6.57.07-macos-x86_64.tar.xz
5b8d7eed989cde915c29139d68ffefba48e1c604e1a1b15f8cb4dc1fb3f23bd3 gamadv-xtd3-6.57.07-windows-x86.msi
4bcf315b7416df727d50a9fbc4a274be235114f1cc6163dee87d06085c9ddab7 gamadv-xtd3-6.57.07-windows-x86.zip
ab1032e9ba694fb74764d2da7f2a192859a4204bacfae25ba9d7b3189a83049c gamadv-xtd3-6.57.07-windows-x86_64.msi
e187e11f1110eb51e97344bfebd14802c83a7f02ec4e25a56c9438936c49a4e4 gamadv-xtd3-6.57.07-windows-x86_64.zip