Connecting Office 365 via PowerShell

Hi Readers,

This is my second article in the Office 365 category, In the last article we connected Exchange Online but We want to connect Office 365 as well with Powershell, This article is all about it.

Prerequisites:

Install Microsoft Online Services Sign-In Assistant for IT Professionals 32 bit/64 bit both are available when you will browse the link.

Install Microsoft Online Services Module for Windows PowerShell 32 bit/64 bit both are available when you will browse the link.

After both above have been installed on your machine just launch PowerShell

Import-Module MSOnline

Capture

Connect-Msolservice

Capture

Now you can Use Office 365 Commands 🙂

Example Screen Shots:-

Capture

 

Capture

You can explore more shell commands by using Get-Command.

Regards

Sukhija Vikas

http://msexchange.me

 

 

 

 

Advertisements

3 thoughts on “Connecting Office 365 via PowerShell

  1. Pingback: Office 365 Users Service Usage Report | Microsoft Technologies Blog

  2. Pingback: office 365 License Report by Email | Microsoft Technologies Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s