Essential Guide

Manage Learn to apply best practices and optimize your operations.

The essential admin's guide to Office 365 PowerShell

Introduction

As more organizations make the move from an on-premises messaging or collaboration platform to Office 365, the admin center may not be robust enough to manage dozens -- or thousands -- of end users.

Microsoft gives administrators a familiar tool to manage these cloud-based services -- the PowerShell command-line shell and its related scripting language. While IT staff can use the GUI within the admin center, Office 365 PowerShell cmdlets give admins better control over cloud assets. Whether it's a routine job, such as checking user permissions, or it's more complex like creating thousands of new mailboxes after a merger, PowerShell delivers reliable results in an efficient manner.

1Exchange Online and PowerShell-

Generate reports and set up resources with scripts in Office 365

Despite the rise of chat apps like Slack and Yammer, most organizations use email as the preferred way to communicate. Exchange Online is the cloud-based version of the venerable Exchange Server messaging system. Administrators who have used PowerShell to tame on-premises Exchange environments can carry these skills over to Exchange Online without too much trouble. This section explains how to perform key tasks, such as disabling multiple mailboxes, with a script built with PowerShell cmdlets.

Tip

Get statistics on Exchange Online mailboxes with PowerShell

Exchange Online PowerShell cmdlets enable admins to extract mailbox information about users and generate forecasting reports. Continue Reading

Tip

Exchange Online PowerShell for sweeping changes

PowerShell is useful for managing Office 365, but admins can't jump right in without first making the connection to Exchange Online and importing the necessary cmdlets. Continue Reading

Tip

PowerShell scripts to control Office 365 mailboxes

PowerShell scripts give administrators the ability to disable numerous mailboxes in Exchange Online with just a few keystrokes. Continue Reading

Tip

Set up Office 365 message encryption with PowerShell

Message encryption is a necessity for certain organizations. This tip explains how to set up Office 365 message encryption to protect sensitive information in both Office 365 and on-premises Exchange Server. Continue Reading

Tip

PowerShell can search through Exchange mailboxes

If you need to search one or multiple Exchange user mailboxes, this PowerShell cmdlet is a useful tool. It eases audits, user requests and other projects. Continue Reading

Tip

Generate accounts and corresponding mailboxes with one PowerShell script

Don't waste time creating user accounts and mailboxes one at a time in the Office 365 admin center. Turn to PowerShell to perform these tasks faster and more accurately. Continue Reading

2SharePoint Online automation-

Scripts and tricks to manage Office 365

SharePoint Online is a key collaboration tool for many organizations. Administrators need a way to quickly and easily provision sites or fix user problems with minimal downtime. The SharePoint Online Management Shell gives admins a way to manage large numbers of users, sites and other resources with scripts built from PowerShell cmdlets.

Tip

Manage SharePoint Online with PowerShell

SharePoint Online management with PowerShell primarily focuses on user administration, but admins can also create and manage site collections. Continue Reading

Tip

PowerShell commands control access in SharePoint Online

Administrators in companies with compliance and regulatory requirements can use PowerShell to prevent certain extranet content from leaking outside the organization. Continue Reading

Answer

How does SharePoint Online management work with PowerShell?

Automating time-consuming tasks like service upgrades or OneDrive synchronizations can free you up to focus on more important things -- or maybe even take a lunch break. These cmdlets can ease SharePoint Online management. Continue Reading

Tip

Get started with the Office 365 Import Service

Need to import large quantities of on-premises data to SharePoint Online? Use PowerShell to tap into the Office 365 Import Service and ease those migration efforts. Continue Reading

3Office 365 management-

Gain control of the Microsoft cloud

Office 365 PowerShell cmdlets provide IT teams with more granular control for critical areas related to security and compliance. Administrators can use PowerShell scripts to prevent data loss and enact corporate policies to prevent a violation of certain regulations.

Tip

Manage Office 365 licenses with PowerShell

Short on time? Use these PowerShell scripts to add new users to your organization and assign Office 365 licenses simultaneously. Continue Reading

Tip

Automatically add Office 365 users in bulk

Manually creating dozens -- or thousands -- of Office 365 users is a huge time sink. A PowerShell script can automate the process in less time with more consistent results. Continue Reading

Tip

Maintain Office 365 compliance with PowerShell

Exchange admins with PowerShell knowledge can execute complex Office 365 tasks in compliance, e-discovery and data loss prevention, without significant effort. Continue Reading

4Glossary-

PowerShell terms to know

Systems administrators interested in Microsoft's scripting language and its automation powers should keep these definitions handy.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchEnterpriseDesktop

SearchCloudComputing

SearchSQLServer

Close