Forum Discussion

loy_5656's avatar
loy_5656
Copper Contributor
Jul 20, 2022
Solved

Regarding the different output formats of Powershell Versions 5 and 7.

I use Exchange Online commands through Powershell. I have noticed that Powershell versions 5 and 7 work differently. And I would like to achieve an output format like Powershell version 5, but with...
  • loy_5656's avatar
    loy_5656
    Jul 20, 2022

    The case has been resolved.

    I found out that it was due to the fact that I was using a preview version of ExchangeOnlineManagement 2.0.6-Preview6.

    This version loads the module when "Connect-ExchangeOnline" is performed, but that step was omitted entirely, so it may be that the cache was still there when the problem was not fixed by restarting.

    PowerShell Gallery | ExchangeOnlineManagement 2.0.6-Preview6

     

    So I fixed it by reinstalling ExchangeOnlineManagement and reverting to version 2.0.5.

     

    Thanks for the solution.

Resources