Updating group descriptions in bulk with GAM

I'm trying to get a script ready to update Groups in bulk (mainly description, but other attributes may be  useful in the future).  So I exported a few test groups with 'gam print groups name description delimiter " " > groupssh3.csv' and end up with a .csv with headers of email, name and description. I then amended the descriptions and tried to run the following:

gam csv groupssh3.csv gam update group ~Email update description ~Description

But I get the error "zsh: no such user or named directory: email"

Any ideas?

0 2 797
2 REPLIES 2

Think I got it! Syntax was wrong - should have been gam csv groupssh3.csv gam update group "~email" description "~description" 

@EPISEC7 I always keep a GAM recipe book when I figure out solutions for things just for the same reason! -KAM

Top Labels in this Space
Top Solution Authors