How to Install Exchange Online PowerShell Module in Windows 11?
Follow the step-by-step instructions to get this done
2 min. read
Updated on
Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more
Key notes
- The first step is to check or install Windows PowerShell ISE to be installed on your computer. If not, you can download it from the Microsoft Store.
- Also, you must run PowerShell ISE with admin privileges to get the work done hassle-free.
Whether you want to manage a mailbox, distribution groups, calendar & contact items, or permissions, the Exchange Online PowerShell module is helpful.
Installing the Exchange Online PowerShell module in Windows 11 is a simple process that includes a few steps.
Here, this blog will walk you through the steps to install it on your Windows. Let’s get started!
What can I do to install Exchange Online PowerShell Module in Windows 11?
Before engaging in advanced troubleshooting steps, you should consider performing the following checks:
- An Exchange Online account to connect and manage via the Exchange PowerShell module.
- If you are running PowerShell on a version of Windows older than Windows 8 or Windows Server 2012, you need to install the Windows Management Framework 3.0 or later from the Microsoft website.
- You must log in with administrator rights to install and run commands.
- Also, ensure you have a reliable internet connection.
1. Set Execution Policy
- Press the Windows key, type PowerShell, and click Run as administrator.
- Type the following command to set the execution policy for PowerShell and press Enter:
Set-ExecutionPolicy RemoteSigned
- Type Y to press Enter to change the execution policy.
2. Install PowerShellGet module
- Type the following command to install the PowerShellGet and press Enter:
Install-Module PowershellGet -Force
- If you get to install the NuGet provider, press Y and then Enter.
- Copy and paste the following command to modify the execution policy:
Get-ExecutionPolicy
- To get the list of installed modules, use the get module cmdlet:
Get-Module PowerShellGet
3. Install Exchange Online PowerShell Module
- Copy and paste the following command press Enter:
Install-Module -Name ExchangeOnlineManagement
- If prompted, press Y and then Enter.
So, these are the steps you need to follow to install the Exchange Online PowerShell module. If you want to know how to connect Exchange Online PowerShell module, check out this here.
Installing & Connecting to Exchange Online are the initial steps to set up DKIM for Microsoft 365 for your domain; read this guide to learn more.
Try them, and if you have any concerns or questions, please mention them in the comments below. We are here to help!
User forum
0 messages