Working with PowerShell

There are numerous Exchange Online functions that can only be performed through PowerShell, such as:

  • Setting mailbox permissions
  • Creating a shared mailbox
  • Allowing users to send on behalf of other users

Any Windows 7 (or above) computer is capable of running Windows PowerShell commands against Exchange Online. You can also create PowerShell scripts to automate functions and actions if you plan to perform them regularly.

Note

It is important to note that PowerShell sessions may become inactive after 15 minutes of idle time, so make sure you know what commands you wish to run before creating the connection.

Connecting to Exchange Online with PowerShell involves a few steps:

  1. Load Windows PowerShell (search for it via the Start menu). ...

Get Microsoft Office 365 – Exchange Online Implementation and Migration - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.