How to Connect to Office 365 Through Powershell
1- In Windows run PowerShell as an admin 2- Install PowerShell v2 if not installed: Install-Module -Name ExchangeOnlineManagement 3- Import Exchange Online Management module: Import-Module ExchangeOnlineManagement For Windows 11 you might have to allow running scripts because running scripts is disabled by default, run this command to allow running scripts. Set-ExecutionPolicy RemoteSigned 4- Connect to […]