How should you complete the Windows PowerShell command?

HOTSPOT
You are the Exchange Online administrator for a company that has offices in Seattle, New York, London, and
Paris. The StateOrProvince attribute in Active Directory is populated with each user’s location.

Employees must be able to send email messages to all users in Europe.
You need to create the distribution group.
How should you complete the Windows PowerShell command? To answer, select the appropriate segment from each list in the answer area.
Hot Area:

based on the results. The group membership is recalculated whenever an email message is sent to the group. contains all mailbox users found anywhere in the contoso.com domain who have a State/Province field that equals “Washington” or “Oregon”. https://technet.microsoft.com/en-us/library/bb125127(v=exchg.150).aspx

HOTSPOT
You are the Exchange Online administrator for a company that has offices in Seattle, New York, London, and
Paris. The StateOrProvince attribute in Active Directory is populated with each user’s location.

Employees must be able to send email messages to all users in Europe.
You need to create the distribution group.
How should you complete the Windows PowerShell command? To answer, select the appropriate segment from each list in the answer area.
Hot Area:

based on the results. The group membership is recalculated whenever an email message is sent to the group. contains all mailbox users found anywhere in the contoso.com domain who have a State/Province field that equals “Washington” or “Oregon”. https://technet.microsoft.com/en-us/library/bb125127(v=exchg.150).aspx

Answer:

Explanation:

Box 1: New-DynamicDistributionGroup
Use the New-DynamicDistributionGroup cmdlet to create a dynamic distribution group.

A dynamic distribution group queries Active Directory mail-enabled objects and builds the group membership
Box 2, Box 3: RecipientFilter, RecipientContainer
Example: This example uses the RecipientFilter parameter to create the dynamic distribution group Pacific
Northwest in the Users container in the contoso.com domain. The Pacific Northwest dynamic distribution group
New-DynamicDistributionGroup -Name “Pacific Northwest” -Alias “Pacific_Northwest” -OrganizationalUnit
“contoso.com/Users” -RecipientFilter {((RecipientType -eq ‘UserMailbox’) -and ((StateOrProvince -eq
‘Washington’ -or StateOrProvince -eq ‘Oregon’)))} -RecipientContainer “contoso.com”
References:



Leave a Reply 2

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


Franck

Franck

First box is wrong. Should be “New-DynamicDistributionGroup”

Battousai

Battousai

Agree, should be a New-DynamicDistributionGroup