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:
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
based on the results. The group membership is recalculated whenever an email message is sent to the group.
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
contains all mailbox users found anywhere in the contoso.com domain who have a State/Province field that
equals “Washington” or “Oregon”.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”https://technet.microsoft.com/en-us/library/bb125127(v=exchg.150).aspx
Answer doesn’t match explaination
But the explanation it is ok, should be a Dynamic distribution list regarding the fact that new users in Europe could be added.
Should be
* New-DynamicDistributionGroup
* -RecipientFilter
* -RecipientContainer
https://technet.microsoft.com/en-us/library/bb125127(v=exchg.160)
They also need to close their brackets.
cant use recipientFilter on new-distributionGroup cmlet
* New-DynamicDistributionGroup
* -RecipientFilter
* -RecipientContainer
Even DG will work but as new users keep coming in these location we need to extra effort to add them in, another point to notice is they have already putting Recipient filter which is condition needed for Dynamic Distribution group.