Best ways to manage Office 365 with Windows PowerShell


Topic Last Modified: 2014-06-20

Summary: Windows PowerShell in Office 365 best practices when managing Azure Active Directory Online, SharePoint Online, Lync Online, and Exchange Online.

This topic takes a close look at the four key areas of Office 365 management: Office 365 in general (which primarily involves managing user accounts and user licensing); SharePoint Online; Lync Online; and Exchange Online. We aren’t going to teach you everything you need to know about using Windows PowerShell to manage Office 365; considering the fact that there are some 600 Windows PowerShell cmdlets that can be used for Office 365 administration that would take more than just one article.

In addition, we aren’t going to tell you how to get started with using Windows PowerShell to manage Office 365; instead, we’re going to assume that you’ve installed everything and that you already know how use Windows PowerShell to connect to Office 365.

So what are we going to do in this article? In this article we’re going to take a look at the following four topics:

For each of these components we’ll tell you a little bit about what you can and cannot manage using Windows PowerShell, and we’ll fill you in on information that’s good to know before you actually start using Windows PowerShell to manage Office 365. We’ll also show you plenty of code samples, and provide you with links to additional information.

Will all of that make you an expert in, say, using Windows PowerShell to manage SharePoint Online? Well, maybe not an expert. But it’s a very good place to start.