Forum Discussion

DarusDP's avatar
DarusDP
Copper Contributor
Jul 20, 2021

Powershell Microsoft Team module v2.3.1 in GUI mode leaves 'Fetching teams' popup window open

I'm using the Powershell Microsoft Team module v2.3.1 in GUI mode. Doing a Get-Teams or Get-TeamUser cmdlet leaves a 'Fetching teams' popup window open. I've found no way in Powershell to close those popup windows (note: they are not the main window of my application).

  • Hello
    You can try setting
    $ProgressPreference = 'SilentlyContinue'
    before calling your script
  • Hello
    You can try setting
    $ProgressPreference = 'SilentlyContinue'
    before calling your script
    • DarusDP's avatar
      DarusDP
      Copper Contributor

      AndresGorzelany 

      Perfect! That worked. Didn't know of that built-in preference variable. Thanks a million.

      • Glad to hear that, can you kindly mark my answer as the best solution, please? I appreciate it.

Resources