Forum Discussion
supportsib
Aug 14, 2021Brass Contributor
powershell and teams
Hi, I am trying the below snippet and powershell showing "fetiching % percentage " and it becoming very slow get-team |where-object { $_.mailnickname -eq $team.TeamsName} Please help Thank...
supportsib
Aug 19, 2021Brass Contributor
Hi,
I am filtering for specific teams , still it is taking around 2-3 minute
get-team |where-object { $_.mailnickname -eq $team.TeamsName}
Thanks
I am filtering for specific teams , still it is taking around 2-3 minute
get-team |where-object { $_.mailnickname -eq $team.TeamsName}
Thanks
VasilMichev
Aug 19, 2021MVP
You are filtering client side, this means PowerShell will need to fetch the full list of teams anyway. Use the example above.