Friday , June 21 2024
Home - Don't Forget! - Creating Dynamic Distribution Groups

Creating Dynamic Distribution Groups

Ive been asked to create a Distribution Group based on Users City Value.  The following Powershell commands create a example Office based group.

Once Powershell for On-premises or Office 365 shell has been started.  Enter the following command changing as required:

To enable the Mail tip use this additional command:

The following command will test and display which users will receive the email from the Distribution Group

Note: If you are not running on a Exchange Management Shell the following post allow connection to remote Exchange Powershell – here

Check Also

The pain of TLS 1.2 with PowerShell module for Azure Active Directory (MSOnline)

Building labs in a hurry sometimes can bite you with recent changes in Office 365 …

One comment

  1. Very useful – Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *