PrepAway - Latest Free Exam Questions & Answers

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:

PrepAway - Latest Free Exam Questions & Answers

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 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”
New-DynamicDistributionGroup
https://technet.microsoft.com/en-us/library/bb125127(v=exchg.150).aspx

2 Comments on “How should you complete the Windows PowerShell command?

  1. brew says:

    From the link above

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

    This topic no longer applies to the cloud-based service. It applies only to on-premises Exchange 2013. To see the current version of the topic that applies to the cloud-based service, change the (v=exchg.150) value in the URL to (v=exchg.160).




    0



    0

Leave a Reply