Difference between revisions of "Information Systems:Exchange Online administration with PowerShell"

From uniWIKI
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
==Overview==
 
==Overview==
Some settings of Exchange Online are still only manageable through PowerShell. PowerShell is not only an alternate way of administration, but it seems to be the preferred way, with official documentation often referring to PowerShell commands in its instructions.
+
Some settings of Exchange Online are still only manageable through PowerShell. Our Exchange server instance can be managed by PowerShell through a remote connection.
   
 
==Pre-requisites==
 
==Pre-requisites==
 
''Note: These instructions are likely to change frequently as PowerShell continues to be upgraded. ''
 
''Note: These instructions are likely to change frequently as PowerShell continues to be upgraded. ''
   
* 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 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. This can be obtained here
  +
[https://www.powershellgallery.com/packages/ExchangeOnlineManagement/ EXO V2]
 
* EXO V2 is supported in PowerShell v7. This is currently a few versions newer than the PowerShell built-in to Windows, so the new version has to be downloaded from Microsoft's GitHub:
 
* EXO V2 is supported in PowerShell v7. This is currently a few versions newer than the PowerShell built-in to Windows, so the new version has to be downloaded from Microsoft's GitHub:
 
[https://github.com/PowerShell/PowerShell/tree/v7.1.3 PowerShell GitHub]
 
[https://github.com/PowerShell/PowerShell/tree/v7.1.3 PowerShell GitHub]
  +
  +
==Documentation==
  +
How to connect to Exchange Online and other instructions are best learned through Microsoft's docs: [https://docs.microsoft.com/en-us/powershell/exchange/exchange-online-powershell?view=exchange-ps Exchange Online PowerShell].
   
 
==Notes==
 
==Notes==
EAC has a shell feature built in (through Azure Cloud Shell), but to go through appears to require Azure Cloud Storage (and the small cost associated with creating a storage blob to store whatever Cloud Shell needs). Regardless the option to use the web shell is shown here as reference:
+
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:
 
:[[File:2021-03-29 11_44_27-Exchange admin center.png|200px]]
 
:[[File:2021-03-29 11_44_27-Exchange admin center.png|200px]]

Revision as of 11:57, 29 March 2021

Overview

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

Pre-requisites

Note: These instructions are likely to change frequently as PowerShell continues to be upgraded.

  • 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. This can be obtained here

EXO V2

  • EXO V2 is supported in PowerShell v7. This is currently a few versions newer than the PowerShell built-in to Windows, so the new version has to be downloaded from Microsoft's GitHub:

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