25 Oct 2011

How to connect to Office 365 using Windows PowerShell

Concentra Team

You can do a bunch of stuff on Office 365 with Windows PowerShell. Here's how to get connected:

  1. Install the Microsoft Online Services Sign-In Assistant [32-bit | 64-bit]

  2. Install the Microsoft Online Services Module for Windows PowerShell [32-bit | 64-bit]

  3. Open PowerShell and import the MSOnline module:
    Import-Module MsOnline

  4. Connect to Office 365 (use your Office 365 login):
    Connect-MsolService

Now you can work on PowerShell. You can see a list of cmdlets by entering:
Get-Command -Module MsOnline

 

Looking for more tips on Office 365? Keep checking our blog.

Concentra Team

About the author

Our team consists of consultants, analysts, and developers with in-depth expertise in various industries. Driven by the desire to innovate and disrupt current ways of working, we are passionate in helping organisations transform through the use of intuitive data analytics, management and visualisation.