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)-admin.sharepoint.com –Credential arman@postmaster.ge

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

Get-SPOSite

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.

---

Tags:

Comments are closed

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

About the author

Arman Obosyan is an experienced IT Pro. with over 15 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)

--------

Disclaimer
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

 

Calendar

<<  April 2014  >>
MoTuWeThFrSaSu
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

View posts in large calendar

TextBox