Scroll to bottom of page for installation/downloads
Latest updates
6.57.09
Added emailaddresslist <EmailAddressList>
to <PermissionMatch>
that allows matching any email address in a list.
6.57.08
Updated gam <UserTypeEntity> print|show contacts|othercontacts
to retry the following error:
serviceNotAvailable - The service is currently unavailable.
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
7b9348eb1bfa8fbeeada9626a16bb88209be3f96a8940bf3a26b91a07498afba gamadv-xtd3-6.57.09-linux-arm64-glibc2.23.tar.xz
fea194370599d59418becafb3ef98890a9048674d7e518567d77c00863ffd94e gamadv-xtd3-6.57.09-linux-arm64-glibc2.27.tar.xz
f2f766a34c230bbf758c1ff478a665c88911a5e653039e52bbbcb0643cf6f0c0 gamadv-xtd3-6.57.09-linux-arm64-glibc2.31.tar.xz
8d8c26f01c603ddf4cc738038e012ff469a9d9c41be323343e193f7c5b6c9094 gamadv-xtd3-6.57.09-linux-x86_64-glibc2.19.tar.xz
919ec342eecb51d40d65c0cf87210f1cfea30ae3679b4c21cdf8d1f7d5c2acc9 gamadv-xtd3-6.57.09-linux-x86_64-glibc2.23.tar.xz
f77c6c4861adf0af6e44a6888622a276125341bf37bae127f14cda7d99a020ac gamadv-xtd3-6.57.09-linux-x86_64-glibc2.27.tar.xz
d068e9f73c103a3046d65a569676d27f9f72352acde2bf081bc9a62f5c6b8dd8 gamadv-xtd3-6.57.09-linux-x86_64-glibc2.31.tar.xz
b536fa3348df257d9f68adf7035e705b308a1eaf21a49d392d1972300e88342a gamadv-xtd3-6.57.09-linux-x86_64-glibc2.35.tar.xz
708cddc9b3c5514e7ed1aba690b6b95db3ef8e3e7a38a4e55e176760cb45b3f7 gamadv-xtd3-6.57.09-linux-x86_64-legacy.tar.xz
c0486119af55fb0387ac80ac087875e3588ecedd5f8f1ff320f96b4b552f33e9 gamadv-xtd3-6.57.09-macos-arm64.tar.xz
ea8e9a580d0ebaeb8aff4b2b9b3e4fb8e78bce2357471edea91e45d4325ab771 gamadv-xtd3-6.57.09-macos-x86_64-legacy.tar
e012c492fc91ec4e8bea68d57f8334aad866ea58debb0e4942573385bff6342b gamadv-xtd3-6.57.09-macos-x86_64.tar.xz
4dcbd7e4a1715d3808f449a28ec372ae5941d7b6b47af2eee5c58e0771372ebd gamadv-xtd3-6.57.09-windows-x86.msi
03a6cdab5a284d5fc07c395adbaafab20044ecdf4a1c524778479a7168a80d84 gamadv-xtd3-6.57.09-windows-x86.zip
bbe87a1fb0e290328c0d32f04915ed1cd7c40f0b1d7d28a65d2d848aa1104fbb gamadv-xtd3-6.57.09-windows-x86_64.msi
f88a57b3f7540915ca60f9c7057f7163e3a1e9899350aa4aeeb485664f0d5a55 gamadv-xtd3-6.57.09-windows-x86_64.zip