Some settings in Exchange Online (Office 365), such as making room lists, are only available through PowerShell. Follow this step-by-step guide to connect to Exchange Online using Remote PowerShell. This will allow you to use all of the features in Exchange Online. In this guide, we will show you how to connect to Exchange Online using PowerShell and get a list of all your meeting room resources. Once you’ve connected, you can refer to our other guides to adjust and customize the settings.
Starting from January 2023, v2 powershell is no longer supported for Exchange Online. You will instead have to install EXO v3 module per the following steps:
Step 1
First, you must ensure that you can run Powershell scripts without restrictions. Open an elevated PowerShell prompt: click Start > type “PowerShell” > hold down the Shift and Ctrl and press Enter. You can also right click and select “Run as administrator”
Step 2
Make sure that the “Administrator: Windows PowerShell” appears in the title bar. If “Windows PowerShell” appears in the title bar instead, right click on the PowerShell icon in the bottom bar and click on “Run as Administrator.”
Step 3
Click ‘Yes’
Step 4
Paste the following command: Install-Module -Name ExchangeOnlineManagement and hit enter
Step 5
Approve the installation
Step 6
Now, search for “Microsoft Exchange Online Powershell module” on your computer and open it
Step 7
Type or paste Connect-ExchangeOnline and press enter
You will now get a login prompt. Login with your account that has admin privileges
You are now connected to Exchange Online via powershell! To use powershell again in the future, simply start at step 6.