Jump to content

Recommended Posts

Posted

Not sure of the terminology but I think it's called a markdown.

 

Soon the new yr7 intake will happen and there is supposed to be a process of archiving all the old class teams groups.

 

This is then ready for the groups to be recreated with the new pupils for the new year.

 

Does anyone know how this process works?

 

I'm using CSV and I'd set the end of term date in SDS, so maybe it's automated?

  • 2 weeks later...
Posted (edited)

Connect to teams via powershell,

 

Run the following command

 

Get-Team -Archived $false | select GroupId, DisplayName | export-csv c:\scripts\Teams_To_Archive.csv

 

Load the CSV file and delete the teams that you do not want to archive.

 

Now run the following code.

$teams = import-csv -path  c:\scripts\Teams_To_Archive.csv
foreach ($team in $teams) {
  set-teamarchivedstate -groupid $team.GroupID -archived:$true
}

(This is from memory, syntax might not be 100%)

Edited by chris_uk
  • Thanks 1
Posted
Connect to teams via powershell,

 

Run the following command

 

Get-Team -Archived $false | select GroupId, DisplayName | export-csv c:\scripts\Teams_To_Archive.csv

 

Load the CSV file and delete the teams that you do not want to archive.

 

Now run the following code.

$teams = import-csv -path  c:\scripts\Teams_To_Archive.csv
foreach ($team in $teams) {
  set-teamarchivedstate -groupid $team.GroupID -archived:$true
}

(This is from memory, syntax might not be 100%)

 

Thanks, this works great!

Posted
can someone tell me what happens to the associated teams class notebook? does it get renamed also? if pupils loose access do their sections get deleted?
Posted
can someone tell me what happens to the associated teams class notebook? does it get renamed also? if pupils loose access do their sections get deleted?

 

It all becomes readonly. So staff and students will still be able to access it, they will not be able to add to it.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...