Dec 10 2021 06:32 AM - edited Dec 10 2021 06:33 AM
Hi,
I got a request to find home (team) for random private channel. I have only a name of the private channel.
get-team | % { $TeamID = $_.groupid ; Get-TeamChannel -GroupId $_.GroupID } | Where-Object { $_.DisplayName -eq "The Lost Private Channel" } | % { Write-Host $TeamID $_.DisplayName }
But obviously this is super slow when you have thousands of teams.
Has anybody else having any better possibilities to find the private channels?
Dec 10 2021 08:16 AM