Archive Classrooms

97 views
Skip to first unread message

Craig Johnson

unread,
Sep 1, 2023, 9:22:27 AM9/1/23
to google-ap...@googlegroups.com
Good Morning, 

Is there a way to archive all google classrooms for a teacher who has left the district. 
Just a simple command that will archive all active classrooms for a specific user?

Thanks,
Craig

--
Craig Johnson
Director of Technology
Randolph School District

https://www.rsdwi.org/

*This email is on a publicly owned system, subject to open records and archival requirements under Wisconsin State Law.  This email and any attachments may contain confidential information that is exempt from disclosure under applicable law.  If you received this email in error, please notify the sender, delete the email and any attachments and do not use, disclose, or store the information it contains.  The views expressed in this transmission are not necessarily the views of the Randolph School District.

Jinu Thomas

unread,
Sep 1, 2023, 9:32:42 AM9/1/23
to google-ap...@googlegroups.com
Hello Craig,

1. Retrieve all the classes for the user with the 1st command and then save it from your drive to your pc / laptop as csv with only the course id field.
2. the call the csv and archie with the 1nd command

Commands:
1. gam print courses teacher <User Email Address> todrive
2. gam csv c:\list-1.csv gam update course ~id state ARCHIVED

I hope it is clear.

Regards,
---
Jinu Thomas



--
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/CALW6mqN%3Dp2SOujvtHLL5dhZQ_Zo8m3G7c0c2_Cd%3DBwjASH5yYQ%40mail.gmail.com.

Ross Scroggs

unread,
Sep 1, 2023, 9:35:49 AM9/1/23
to google-ap...@googlegroups.com
Craig,

See: https://github.com/taers232c/GAMADV-XTD3/wiki/Classroom-Courses

gam redirect csv ./CoursesToArchive.csv print courses teacher tea...@domain.com states active,provisioned
gam redirect stdout ./CoursesToArchive.txt multiprocess redirect stderr stdout csv CoursesToArchive.csv gam update course "~id" state archived

Ross
----
Ross Scroggs



Craig Johnson

unread,
Sep 1, 2023, 10:03:15 AM9/1/23
to google-ap...@googlegroups.com

Jinu Thomas

unread,
Sep 1, 2023, 10:06:50 AM9/1/23
to google-ap...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages