Posts

Showing posts from January, 2020

GAM and Commands to Remember

Reminders about using GAM for Google Admin I've been working with Google Admin for a while, but when it comes to organising users at the beginning of the year, I keep loosing the details that I need to complete the tasks. So I'm putting details into this post about what commands I need to remember and the steps for this. Print out all users in an organisation This command will print all of the details of users in your domain. This will give me their account and most importantly, their organisation unit. gam print users allfields > users.csv Changing users to other organisational units This command will allow me to use a text file I've created from the download of all the user details to move users from OUs to elsewhere. The text file only needs the first part of the email address, minus "@blah.com" gam file users.txt update user org "/Users/Leaving" Bulk upload of new users To do this, I need to get the list of the new users with the fol