--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/d70f5c10-3334-49ae-b10e-72e310f0a454%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Since this would be a one time change, I would recommend pulling all the account info with something like:gam print users users.txtThen I would take that file and clean it up and edit in in a spreadsheet to get commands like:gam update user x12...@mydomain.com username 12...@mydomain.comusing standard spreadsheet tools you can pull all the alpha characters off the emails - insert the actual commands, and get the data into a file that you can then execute in a bat file
On Sun, Jan 18, 2015 at 6:39 AM, Muhammad Nabil Isma <mna...@ud.ac.ae> wrote:
Good day to all,I am new to GAM and not much of an expert with scripts. What I want to do is to modify our google users email accounts. The naming structure we are using currently is a letter followed by a group of digits, e.g. 'x12...@mydomain.com'. I need to change this email to remove the letter and leave just the digits, e.g. '12...@mydomain.com'.What is the best way for me to achieve this, and can I achieve this without using csv or text files, may be by just using a script. Please correct me if I am wrong, but the way I understand it if I use a csv or txt file I will have to list out all the users I want to modify in the file.Thanks in advance for the assistance.
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/d70f5c10-3334-49ae-b10e-72e310f0a454%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Steve Carrington
Chief Information Officer
Murphysboro CUSD #186
McElvain School
593 Ava Road
Murphysboro, IL 62966
V - 618-684-3781 X 6108
F - 618-684-2465"We can't solve problems by using the same kind of thinking we used when we created them." - Albert Einstein
gam update user <email address>
[firstname <First Name>] [lastname <Last Name>]
[password <Password>] [email <New Email>]
[gal on|off] [admin on|off] [suspended on|off]
[sha] [md5] [crypt] [nohash]
[changepassword on|off] [org <Org Name>]