Hi,
So when chatspaces became available we as a school had no restrictions and students could make their own and we just disabled chat when they were misusing. Anyway Admin have finally said to turn off making their own spaces. Now as Gadmin have to delete all student spaces. So my question is what are some solutions to this. I first thought to just print all spaces in specific OU and then delete the spaces but I think this prints all spaces they are a part off so if a Staff member made the group this may try to delete this specific group. So my next solution would be to print all spaces in an OU then delete the user from the chatspace then go through all spaces without members and delete but my command seems to be wrong so any help or other solution is welcome.
gam ou_and_children (my_directory_OU) print chatspaces type space todrive | gam redirect stdout - multiprocess redirect csv ./Chatspaces.csv multiprocess csv - gam user ~User delete chatmember ~name
ERROR: Header "User" not found in CSV headers of "Data uploaded to Drive File:".
Thanks in advance