Using GAM to move All computers to one OU from Sub OUs

175 views
Skip to first unread message

Nick Jacobe

unread,
Dec 20, 2017, 12:50:10 PM12/20/17
to GAM for G Suite
Hello All,

I have seen similar questions but seem like nothing exactally like what I want. 

My current Google Structure is a mess! 

I would like to move all of my chromebooks from multiple sub OUs to 1 specific OU (Not Inventoried). Any thoughts on an easy way to do that? I have a chromeinventory sheet that I downloaded. 

TIA

Confidentiality Notice: This message may contain confidential information, including, but not limited to, student personally identifiable information. Such information is intended only for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, printing, distribution, or the taking of any action in reliance on the contents of the information contained herein is strictly prohibited. If you receive this e-mail message in error, please immediately notify me to arrange for the return of the original document to me. Please also delete the message from your computer. Thank you.

Jay Lee

unread,
Dec 20, 2017, 1:01:26 PM12/20/17
to google-ap...@googlegroups.com
You can run a GAM command like:

gam update cros query:register:1979-01-01.. ou "/Chromebooks"

to move all your devices into an OU called Chromebooks.(assuming it already exists). The "query:register:1979-01-01.." will update (move) all devices that have been registered on or after 1979 (which is obviously all your devices).

Jay

--
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.
To post to this group, send email to google-apps-manager@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/a4f8a156-c288-4afb-8cd0-62b742e0cd36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

+KimNilsson

unread,
Dec 21, 2017, 3:19:32 AM12/21/17
to GAM for G Suite
Jay gave you how to do it with GAM.
You can of course also do it with Chromebookinventory.
Just replace the path in the first column (A) and upload the file. CI will then move all your devices to the path you put in A.

Nick Jacobe

unread,
Dec 26, 2017, 2:07:59 PM12/26/17
to GAM for G Suite
Thank for your help. I am getting a 403 error: not authorized to access this resource/API forbidden

Any thoughts? 


On Wednesday, December 20, 2017 at 12:01:26 PM UTC-6, Jay Lee wrote:
You can run a GAM command like:

gam update cros query:register:1979-01-01.. ou "/Chromebooks"

to move all your devices into an OU called Chromebooks.(assuming it already exists). The "query:register:1979-01-01.." will update (move) all devices that have been registered on or after 1979 (which is obviously all your devices).

Jay
On Wed, Dec 20, 2017 at 12:34 PM, Nick Jacobe <nja...@sdwd.k12.wi.us> wrote:
Hello All,

I have seen similar questions but seem like nothing exactally like what I want. 

My current Google Structure is a mess! 

I would like to move all of my chromebooks from multiple sub OUs to 1 specific OU (Not Inventoried). Any thoughts on an easy way to do that? I have a chromeinventory sheet that I downloaded. 

TIA

Confidentiality Notice: This message may contain confidential information, including, but not limited to, student personally identifiable information. Such information is intended only for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, printing, distribution, or the taking of any action in reliance on the contents of the information contained herein is strictly prohibited. If you receive this e-mail message in error, please immediately notify me to arrange for the return of the original document to me. Please also delete the message from your computer. Thank you.

--
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.
To post to this group, send email to google-ap...@googlegroups.com.

+KimNilsson

unread,
Dec 27, 2017, 4:16:49 AM12/27/17
to GAM for G Suite
Please post your command and the following error. So we can se exactly what is happening.

+KimNilsson

unread,
Dec 27, 2017, 4:19:34 AM12/27/17
to GAM for G Suite
Ok, no need, I see you're on with Ross in this thread.
Reply all
Reply to author
Forward
0 new messages