Use Windows PowerShell in Exchange Online

Applies to: Office 365 for professionals and small businesses, Office 365 for enterprises, Live@edu

Windows PowerShell is a command-line shell and scripting language that you can use to manage your organization.

Windows PowerShell uses administrative tasks called cmdlets. Each cmdlet has required and optional arguments, called parameters, that identify which objects to act on or control how the cmdlet performs its task. You can combine cmdlets in scripts to perform complex functions that give you more control and help you be more efficient.

You use Windows PowerShell on a local computer to connect to your cloud-based organization and perform management tasks that aren't available or practical in the Exchange Control Panel. For example, you can create dynamic distribution groups, create or update many user accounts at one time, and script automated solutions.

Before you begin, make sure you perform the following steps:

  1. Install and Configure Windows PowerShell
  2. Connect Windows PowerShell to the Service

Windows PowerShell cmdlets available in the cloud

Want a quick description of the cmdlets that are currently available to administrators in the cloud? See Reference to Available PowerShell Cmdlets in Exchange Online.