|
|
The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Searce is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.
--
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/CAEQtOehWmG%2B5dYZHJ%3D%2BpHJOGTLT%3DFnveWi_xDys5UhBRwYyi-Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJkvRS--Gq_owbyNWgrr2wQXoTr7hOPdZCxFc1t%2BzrrFFt0iSg%40mail.gmail.com.
gam config auto_batch_min 1 csv_output_row_filter "creator.email:regex:us...@domain.com,recurringEventId:regex:^.+$" csv_output_header_filter "calendarId,id,summary,status,creator.email,recurringEventId" redirect csv ./Events.csv multiprocess redirect stdout ./GetEvents.txt multiprocess redirect stderr stdout all users print events primary singleevents after 2021-10-01
config auto_batch_min 1 - turn on parallel processing
csv_output_row_filter "creator.email:regex:us...@domain.com,recurringEventId:regex:^.+$" - Only output recurring events; substitute for us...@domain.com
csv_output_header_filter "calendarId,id,summary,status,creator.email,recurringEventId" - Only output selected columns
redirect csv ./Events.csv multiprocess - CSV file with event information
redirect stdout ./GetEvents.txt multiprocess redirect stderr stdout - Log file of commands
all users - Perform on all non-suspended users
print events primary - Look at user's primary calendar
singleevents - Show each instance of recurring events
after 2021-10-01 - Only display events after specific date
Inspect events
Look at Events.csv, verify that it is reasonable
Delete events
gam redirect stdout ./DeleteEvents.txt multiprocess redirect stderr stdout csv Events.csv gam calendar "~calendarId" delete event id "~id" doit
redirect stdout ./DeleteEvents.txt multiprocess redirect stderr stdout - Log file of commands
csv Events.csv - Output from first command
gam calendar "~calendarId" - Specify calendar
delete event id "~id" doit - Specify event id and confirm deletion
Ross
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAEQtOegDzkLOW23EOZwB2CF%2BxotOwPNN%3DooQ5F04BOZQzEsh_w%40mail.gmail.com.