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

Converting group types

We have reviewed the group types in Active Directory earlier in this chapter. At a high level, there are two types of groups—Security and Distribution. Both Security and Distribution groups can be email enabled and used to distribute emails to a collection of users and groups.

You need to be careful while using security groups for email distribution as these groups have security principals, and you may unintentionally grant a user or group permission to access a resource such as the file share assigned to this group. As a best practice, only distribution groups should be used for emails.

To convert the existing security into distribution groups, you will need the Active Directory PowerShell module, which is available on Windows 2008 R2 and later versions. To get a list of available modules, type Get-Module –ListAvailable.

The following command will import the ActiveDirectory module:

Import-Module ActiveDirectory

Before making any changes to the group type, ensure that...