This tutorial explains how to run Exchange Online Management Powershell on-prem.
- Open Powershell as admin
- Type the command: Install-Module -Name ExchangeOnlineManagement
![](https://usercontent.one/wp/www.ict-pedia.com/wp-content/uploads/2023/03/ps1.jpg?media=1679149463)
- Type Y and press Enter
- Type the command: Import-Module ExchangeOnlineManagement
- Press Enter
- Type the command: Connect-ExchangeOnline -UserPrincipalName username@domain.com (Change it to your administrator account)
- Press Enter and login with your administrator account
![](https://usercontent.one/wp/www.ict-pedia.com/wp-content/uploads/2023/03/ps2.jpg?media=1679149463)