Forum Discussion

Aslan_Im's avatar
Aslan_Im
Copper Contributor
May 06, 2021

Get-UnifiedGroup shows different results each attempt

I have ran Get-UnifiedGroup 3 times and have got 3 different results. How is it possible?

 

  • 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's avatar
      Aslan_Im
      Copper Contributor
      Hi Vasil! Thank you for shared link. Could you please also share link o the webinar record?
      • Well 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.

Resources