Forum Discussion
Aslan_Im
May 06, 2021Copper Contributor
Get-UnifiedGroup shows different results each attempt
I have ran Get-UnifiedGroup 3 times and have got 3 different results. How is it possible?
VasilMichev
May 06, 2021MVP
You're most likely getting disconnected due to a long running cmdlet, and the amount of data returned. We've spoken at length about how to optimize PowerShell for such scenarios, look up the webinar recordings if you are interested. For the short version, use the approach detailed here: https://github.com/Canthv0/RobustCloudCommand
Aslan_Im
May 07, 2021Copper Contributor
Hi Vasil! Thank you for shared link. Could you please also share link o the webinar record?
- VasilMichevMay 07, 2021MVPWell it seems our marketing folks removed them with the move to our new platform... sorry. The module above covers almost everything we discussed there, give it a try.
- Aslan_ImMay 10, 2021Copper ContributorI have checked module you provided and see there a necessarry parameter -recipients, but it is not applicable for my case. I just need to collect all unified groups, I don't want to do any actions on them.
- VasilMichevMay 07, 2021MVPAh nevermind, here are the links:
https://www.youtube.com/watch?v=YHjZWeReAfE
https://www.youtube.com/watch?v=NFalc0XWtl4