Office 365 SharePoint Management Shell

by Arman Obosyan 1. February 2014 09:00

In previous post we connected to our Office 365 subscription check subscription status and in addition connected to Exchange and imported Exchange cmdlets.

Now we are going to connect to our SharePoint and do some stuff using PowerShell, to connect we will need SharePoint Online Management Shell, PowerShell module that allows us to manage SharePoint in Office 365, users, site collections, and sites.

Download the SharePoint Online Management Shell (32-bit and 64-bit versions of the shell are available)

After you download and install SharePoint Online Management Shell, find it in Program files and run

After you run we will connect to our SharePoint tenant using this command

Connect-SPOService –URL https://(YOURSITE) –Credential

Aster successful connection, lets do some stuff, for example view of our SharePoint sites list using command:


Alternatively, you can use the Windows PowerShell Integrated Scripting Environment (ISE), which is preferred and recommended scripting environment. After you have installed the SharePoint Online Management Shell, the Windows PowerShell cmdlets for SharePoint Online will be available on your computer.

Start the Windows PowerShell ISE, select the Microsoft.Online.SharePoint.PowerShell module from the command browser

You will be able to see the available Windows PowerShell cmdlets for SharePoint Online.

That is for now.



Comments are closed

© 2008-2012, Arman Obosyan, Postmaster.GE
Powered by BlogEngine.NET
Hosted on Windows Azure and IIS8

About the author

Arman Obosyan is an experienced IT Pro. with over 17+ years work experience in Information Technologies sector.

Certified since 2003 year, passed following certifications MCP, MCSA, MCSE, MCTS, MCITP, Exin ITIL and VMware Certified Professional (VCP)

In 2010 Was awarded a Microsoft Most Valuable Professional (MVP)


The opinions expressed herein are my own personal opinions and do not represent anyone else's view in any way, including those of my employer.

Live Trafic



<<  February 2018  >>

View posts in large calendar