Moving Devices by MAC Address

75 views
Skip to first unread message

FastGM3

unread,
Dec 14, 2021, 1:17:52 PM12/14/21
to GAM for Google Workspace
I'm in a situation where I need to move devices by MAC address. Is it possible?

My first attempt had a csv with MAC addresses and I put "macAddress" in the header. Then I ran a GAM command of what I thought it should be, but didn't work.

gam csv legette.csv gam update cros ~macAddress ou "/students/LegetteStudent/"

Any ideas?


TIA,

Chuck

Ross Scroggs

unread,
Dec 14, 2021, 1:46:34 PM12/14/21
to google-ap...@googlegroups.com
Chuck,


gam csv legette.csv gam update cros query "ethernet_mac:~~macAddress~~" ou "/students/LegetteStudent/"
gam csv legette.csv gam update cros query "wifi_mac:~~macAddress~~" ou "/students/LegetteStudent/"

Note that macAddress should not contain :

Ross

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/367eb6b2-ac53-4970-a723-bf117390eacdn%40googlegroups.com.


--

FastGM3

unread,
Dec 14, 2021, 2:16:27 PM12/14/21
to GAM for Google Workspace
Thank you Ross!  Naturally that worked perfect!  I also appreciate the list.

Chuck

Reply all
Reply to author
Forward
0 new messages