Forum Discussion
PSCIT
Jul 07, 2021Copper Contributor
SDS - Group cleanup mistake
Hi everyone, Hoping you an help, I have made a mistake with the Microsoft SDS cleanup and have marked all classes expired and archived. Is there any way I can reverse the cleanup?
SPEYK_RBroer
Aug 27, 2021Brass Contributor
Yes, with Powershell you can. Use Get-Teams to a list of all teams and send it to a csv. Edit the csv to only hold the expired teams and import with Powershell, loop all lines to use Set-Teams and the appropriate fields (in this case archived back to false and the name without EXPmmyy_).