Information Systems:Exchange Online administration with PowerShell

From uniWIKI
Revision as of 22:01, 30 March 2021 by Norwinu (talk | contribs)
Jump to navigation Jump to search

Overview

Some settings of Exchange Online are still only manageable through PowerShell. Our Exchange Online instance can be managed by PowerShell through a remote connection.

Pre-requisites

Note: These instructions may change as PowerShell and Exchange continues to be upgraded. Check with official docs if you encounter issues.

  • To connect to Exchange Online via PowerShell, the EXO V2 (as of 2021-03-29) PowerShell module is required. This module contains the cmdlets necessary for Exchange administration tasks. To install, issue this command in PowerShell Install-Module -Name ExchangeOnlineManagement
  • EXO V2 is supported in PowerShell v7 (the docs say this, despite the min version saying PS 3.0). This is currently a few versions newer than the PowerShell built-in to Windows. Newer versions are available on the official PowerShell GitHub

Documentation

How to connect to Exchange Online and other instructions are best learned through Microsoft's docs: Exchange Online PowerShell.

Notes

  • EAC has a web shell feature (Azure Cloud Shell), but to use this requires Azure Cloud Storage (and the small cost associated with creating a storage blob to store whatever Cloud Shell needs to store). For reference, its location in EAC is shown here:
2021-03-29 11 44 27-Exchange admin center.png
  • The following is a good example of the kind of setting that is still only available in PowerShell. Both is (just Focused Inbox) and isn't (imagine doing for 5000 users) a big deal.
2021-03-30 21 59 16-Configure Focused Inbox for everyone in your organization - Microsoft 365 admin .png