Book Image

PowerShell for Office 365

By : Martin Machado
Book Image

PowerShell for Office 365

By: Martin Machado

Overview of this book

While most common administrative tasks are available via the Office 365 admin center, many IT professionals are unaware of the real power that is available to them below the surface. This book aims to educate readers on how learning PowerShell for Offi ce 365 can simplify repetitive and complex administrative tasks, and enable greater control than is available on the surface. The book starts by teaching readers how to access Offi ce 365 through PowerShell and then explains the PowerShell fundamentals required for automating Offi ce 365 tasks. You will then walk through common administrative cmdlets to manage accounts, licensing, and other scenarios such as automating the importing of multiple users,assigning licenses in Office 365, distribution groups, passwords, and so on. Using practical examples, you will learn to enhance your current functionality by working with Exchange Online, and SharePoint Online using PowerShell. Finally, the book will help you effectively manage complex and repetitive tasks (such as license and account management) and build productive reports. By the end of the book, you will have automated major repetitive tasks in Office 365 using PowerShell.
Table of Contents (16 chapters)
Title Page
About the Authors
About the Reviewer
Customer Feedback

Installing and working with the Office 365 admin tools

In this section, we will cover the installation and configuration of the Office 365 admin tools.

Office 365 is a premier SaaS offering from Microsoft, and they host the services for us. We don't have direct access to the servers that host Exchange, SharePoint, Skype for Business, and so on. So, we need to use the remote management tool. PowerShell for Office 365 is a remote management tool. Even though the new Microsoft under Satya Nadella's leadership has embraced open source technologies, in order to manage Office 365 using PowerShell, we need a 64-bit Windows machine as of today. I expect this to change in future, and Microsoft may add support for Linux distributions as well. When Office 365 was launched in 2013, the Windows Azure Active Directory Module for Windows PowerShell was supported on 32-bit machines. However, this support was discontinued in October 2014.

To manage Office 365 using PowerShell, we need to install Microsoft...