Running GAM as part of an automated task

184 views
Skip to first unread message

Joshua Lee

unread,
Mar 28, 2019, 11:43:55 AM3/28/19
to GAM for G Suite
Does anyone know if GAM can be run as part of an automated task? I.E. a powershell script which checks for members of a specific AD group, and then moves any of those members' email accounts to a specific Google OU. 

Joshua Lee

unread,
Mar 28, 2019, 11:51:53 AM3/28/19
to GAM for G Suite
An added question, when you install GAM on a machine, how is it installed? Is anyone who has access to that machine allowed to run GAM commands (assuming it might use the email account that was used during install) or is only the account that was used to install GAM allowed to run GAM commands? 

Ross Scroggs

unread,
Mar 28, 2019, 11:51:55 AM3/28/19
to google-ap...@googlegroups.com
Joshua,

Yes.

Ross

On Thu, Mar 28, 2019 at 8:44 AM Joshua Lee <jl...@bergelectric.com> wrote:
Does anyone know if GAM can be run as part of an automated task? I.E. a powershell script which checks for members of a specific AD group, and then moves any of those members' email accounts to a specific Google OU. 

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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 https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/d96754d3-3c88-444c-9863-c4b7319565cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Eric Dannewitz

unread,
Mar 28, 2019, 11:54:12 AM3/28/19
to google-ap...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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 https://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.


--
Eric Dannewitz 
Technology Assistant/District Tech
Acalanes Union High School District
District Office Technology Department

Ross Scroggs

unread,
Mar 28, 2019, 11:56:02 AM3/28/19
to google-ap...@googlegroups.com
Joshua,

What platform are you on: Windows/Mac OS/Linux?

Ross

On Thu, Mar 28, 2019 at 8:52 AM Joshua Lee <jl...@bergelectric.com> wrote:
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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 https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/b262efb6-c59a-46dd-9ef3-7b704132dc2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Joshua Lee

unread,
Mar 28, 2019, 12:02:25 PM3/28/19
to GAM for G Suite
Windows Server


On Thursday, March 28, 2019 at 8:56:02 AM UTC-7, Ross Scroggs wrote:
Joshua,

What platform are you on: Windows/Mac OS/Linux?

Ross

On Thu, Mar 28, 2019 at 8:52 AM Joshua Lee <jl...@bergelectric.com> wrote:
An added question, when you install GAM on a machine, how is it installed? Is anyone who has access to that machine allowed to run GAM commands (assuming it might use the email account that was used during install) or is only the account that was used to install GAM allowed to run GAM commands? 

On Thursday, March 28, 2019 at 8:43:55 AM UTC-7, Joshua Lee wrote:
Does anyone know if GAM can be run as part of an automated task? I.E. a powershell script which checks for members of a specific AD group, and then moves any of those members' email accounts to a specific Google OU. 

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.


--
Ross Scroggs

Joshua Lee

unread,
Mar 28, 2019, 12:05:56 PM3/28/19
to GAM for G Suite
What is purpose/scope of "Advanced GAM"


On Thursday, March 28, 2019 at 8:54:12 AM UTC-7, Eric Dannewitz wrote:
On Thu, Mar 28, 2019 at 8:52 AM Joshua Lee <jl...@bergelectric.com> wrote:
An added question, when you install GAM on a machine, how is it installed? Is anyone who has access to that machine allowed to run GAM commands (assuming it might use the email account that was used during install) or is only the account that was used to install GAM allowed to run GAM commands? 

On Thursday, March 28, 2019 at 8:43:55 AM UTC-7, Joshua Lee wrote:
Does anyone know if GAM can be run as part of an automated task? I.E. a powershell script which checks for members of a specific AD group, and then moves any of those members' email accounts to a specific Google OU. 

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.

Ross Scroggs

unread,
Mar 28, 2019, 12:15:04 PM3/28/19
to google-ap...@googlegroups.com
Joshua,


You can use Windows security to limit access to GAM

Ross

On Thu, Mar 28, 2019 at 9:06 AM Joshua Lee <jl...@bergelectric.com> wrote:
What is purpose/scope of "Advanced GAM"

On Thursday, March 28, 2019 at 8:54:12 AM UTC-7, Eric Dannewitz wrote:
On Thu, Mar 28, 2019 at 8:52 AM Joshua Lee <jl...@bergelectric.com> wrote:
An added question, when you install GAM on a machine, how is it installed? Is anyone who has access to that machine allowed to run GAM commands (assuming it might use the email account that was used during install) or is only the account that was used to install GAM allowed to run GAM commands? 

On Thursday, March 28, 2019 at 8:43:55 AM UTC-7, Joshua Lee wrote:
Does anyone know if GAM can be run as part of an automated task? I.E. a powershell script which checks for members of a specific AD group, and then moves any of those members' email accounts to a specific Google OU. 

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.


--
Eric Dannewitz 
Technology Assistant/District Tech
Acalanes Union High School District
District Office Technology Department

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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 https://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.


--

avail

unread,
Apr 1, 2019, 9:50:22 AM4/1/19
to GAM for G Suite
The short answer is "Yes." 
The long answer is I have quite a few scheduled tasks that utilize powershell and gam. Let me know if you have any specific questions.
Reply all
Reply to author
Forward
0 new messages