office 365 powershell login and commands

reference: https://activedirectorypro.com/powershell-connect-to-office-365/

 

  • run Powershell as admin

 

  • run command:
    • Install-Module -name ExchangeOnlineManagement

  • run command:
    • Connect-ExchangeOnline

 

Leave a Reply

Your email address will not be published. Required fields are marked *