Update your Bookmarks to https://sites.google.com/view/gam--commands/home
Google Workspace for Education Standard | 1010310005
Google Workspace for Education Standard (Staff) | 1010310006
Google Workspace for Education Plus | 1010310008
Google Workspace for Education Plus (Staff) |1010310009
gam user <User Email Address> add licenses <SKUID>
gam print users query "orgUnitPath='</Path/To/OU>' isSuspended=false" | gam csv - gam user ~primaryEmail add license <SKUID>
gam user <User Email Address> delete license <SKUID>
gam print users query "orgUnitPath='/<Path/to/top/OU>' isSuspended=true" | gam csv - gam user ~primaryEmail delete license <SKUID>
This will print the licenses as a separate column with users.
gam print users licenses todrive
The <SKUID> can be found here https://developers.google.com/admin-sdk/licensing/v1/how-tos/products or use the command above.
gam print licenses sku <SKUID> todrive
gam print licenses sku <SKUID>,<SKUID> todrive
gam user <User Email Address> print licenses todrive