Book Image

Microsoft Exchange Server PowerShell Essentials

By : Biswanath Banerjee
Book Image

Microsoft Exchange Server PowerShell Essentials

By: Biswanath Banerjee

Overview of this book

PowerShell has become one of the most important skills in an Exchange administrator's armory. PowerShell has proved its mettle so widely that, if you're not already starting to learn PowerShell, then you're falling behind the industry. It isn't difficult to learn PowerShell at all. In fact, if you've ever run commands from a CMD prompt, then you'll be able to start using PowerShell straightaway. This book will walk you through the essentials of PowerShell in Microsoft Exchange Server and make sure you understand its nitty gritty effectively. You will first walk through the core concepts of PowerShell and their applications. This book discusses ways to automate tasks and activities that are performed by Exchange administrators and that otherwise take a lot of manual effort. Microsoft Exchange PowerShell Essentials will provide all the required details for Active Directory, System, and Exchange administrators to help them understand Windows PowerShell and build the required scripts to manage the Exchange Infrastructure.
Table of Contents (17 chapters)
Microsoft Exchange Server PowerShell Essentials
About the Author
About the Reviewer

Automation with dynamic Distribution groups

A dynamic distribution group is a special type of distribution group where members are not static. The membership of a dynamic distribution group is calculated every time an email is sent to the group. The membership of a dynamic distribution group is defined by a filter or a condition defined by the administrator or owner.

In other words, you will not find any members in a dynamic distribution group property. Instead, you will see a filter or condition specified in the membership section. All the objects that satisfy the condition will receive an email sent to the dynamic distribution group.

The following example creates the dynamic distribution group called "All Mailbox Users" that contains only mailbox users:

New-DynamicDistributionGroup -IncludedRecipients MailboxUsers -Name "All Mailbox Users" -OrganizationalUnit Users

The following example creates a dynamic distribution group with a custom recipient filter. The dynamic distribution group contains...