Managing Exchange Mailboxes and Distribution Groups in PowerShell

This course will teach you how to create and manage Exchange Server mailboxes and distribution groups using PowerShell.
Course info
Level
Intermediate
Updated
Apr 5, 2017
Duration
3h 16m
Table of contents
Course Overview
Course Introduction
Managing User Mailboxes
Managing Shared Mailboxes and Delegate Scenarios
Managing Resource Mailboxes
Managing Archive Mailboxes
Other Mailbox Management Scenarios
Managing Distribution Groups
Reporting and Automation
Description
Course info
Level
Intermediate
Updated
Apr 5, 2017
Duration
3h 16m
Description

In this course, Managing Exchange Mailboxes and Distribution Groups in PowerShell, you'll learn how to use PowerShell to efficiently create and manage mailboxes and distribution groups in an Exchange Server environment. Whether you're an experienced administrator or new to Exchange, this course will boost your skills by teaching you the PowerShell way to perform the most common Exchange admin tasks, as well as how to use PowerShell to automate reporting and administration. Some of the topics that we'll cover include creating different types of mailboxes, managing mailbox permissions and shared access, configuring calendar processing for room and equipment mailboxes, creating distribution groups and managing their members, and we'll even take a look at some reporting and automation scenarios where PowerShell really shines. By the end of this course, you'll be able to confidently perform common mailbox and distribution group administrative tasks in PowerShell, and have and understanding of how to apply your PowerShell skills to other scenarios you encounter on the job.

About the author
About the author

Paul Cunningham is a Microsoft MVP, consultant, trainer and author, specializing in Office 365 and Exchange Server. Paul lives in Brisbane, Australia and has over 20 years of experience deploying and managing Microsoft systems and services for enterprise and government customers. Paul has authored and co-authored several books about Office 365 and Microsoft Exchange Server.

More from the author
Preparing to Migrate to Office 365
Beginner
2h 32m
Aug 6, 2018
Configuring and Managing Office 365 Security
Intermediate
6h 23m
May 8, 2018
Office 365 Administration Playbook
Intermediate
3h 0m
Oct 18, 2017
More courses by Paul Cunningham
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hello everyone. My name is Paul Cunningham, and welcome to my course, Managing Exchange Mailboxes and Distribution Groups in PowerShell. I'm a Microsoft MVP for Office servers and services which includes products and services such as Office 365, Exchange Online, and Exchange Server on-premises. PowerShell has become the command-line interface and scripting language for all of Microsoft's products and learning PowerShell is critical for IT professionals of all levels, whether it's for performing one-off administration tasks or managing thousands of user's mailboxes or servers or automating repetitive processes. This course covers, at an intermediate level, how to use PowerShell to perform administration tasks on Exchange mailboxes and distribution groups. Some of the topics that we'll cover include creating different types of mailboxes, managing mailbox permissions and shared access, configuring calendar processing for room and equipment mailboxes, creating distribution groups and managing their members, and we'll even take a look at some reporting and automation scenarios where PowerShell really shines. By the end of this course, you'll be able to confidently perform common mailbox and distribution group administrative tasks in PowerShell and have an understanding of how to apply your PowerShell skills to other scenarios that you encounter on the job. Before beginning this course, you should be familiar with the basics of Active Directory, Exchange, and PowerShell. I hope you'll join me on this journey to learning Exchange mailbox and distribution group management using PowerShell.

Other Mailbox Management Scenarios
In this module, we're going to cover some Other Mailbox Management Scenarios that you're likely to encounter in most Exchange Server environments. For one of these demos, we're going to need some additional RBAC permissions, so first we'll just take a quick look at that. Then we'll have a look at managing out of office for mailboxes using PowerShell, configuring inbox rules, running eDiscovery searches for mailbox contents, applying in-place holds, and applying litigation holds. So just quickly, let's talk about these additional RBAC permissions. What do we actually need in this case? Well, this is for the eDiscovery searches, which require discovery management rights in Exchange. Now nobody is a member of this group by default, not even the organization management role group members. So before you can do any eDiscovery searches, your admin account just needs to be added into the discovery management group and then restart your Exchange admin center or your Exchange Management Shell so that the new permissions take effect. You should consider discovery management permissions to be quite powerful. Obviously, the ability to search everyone's mailboxes and look at the contents is pretty serious business. So access to eDiscovery is something that you really should limit in a production environment, maybe give it to tier 3 or tier 2 admins only or specific people in your legal department or only granted on a temporary case by case basis. Anyway, let's get on with the demos.

Reporting and Automation
In this final module for the course, we're going to look at using PowerShell for Reporting and Automation in Exchange. The two scenarios we'll use here are reporting on mailbox sizes, so this is generating reports that tell us about the size of the mailboxes in the organization, and automating mailbox creation, this will help with streamlining new user onboarding processes. I'm going to use some PowerShell techniques in this module that you may or may not already be familiar with. not complicated things, just simple things like loops, if statements, custom objects. If you need to brush up on those topics after watching this course, there's a whole learning path on Pluralsight that goes deep into PowerShell essentials for IT admins, toolmaking fundamentals, so this is about not just building scripts, but actually building useful, functional tools using PowerShell, advanced functions and modules, which can be used as building blocks for other scripts and tools, and best practices and patterns in PowerShell, which helps to do things the right way. So I'll explain what I'm using in this module and why I'm using it. My goal here is to give you a taste of what's possible, get your mind thinking about ideas for scripting and automation in your own environment and let you use other training courses to go deeper on the PowerShell topics that you feel you need more learning on.