πPowerShell on Mac
How to get PowerShell working on a Mac
TLDR
Install HomeBrew
Install PowerShell
Install Xcode
Install MacPorts
In Terminal run
sudo pwsh
To connect with Exchange Online which will open browser to Modern Auth
Install-Module -Name ExchangeOnlineManagement
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline
Other Documentation https://github.com/MicrosoftDocs/office-docs-powershell/issues/6507
Last updated