Home » Microsoft » 70-341 v.2 » Which command should you run?
You have an Exchange Server 2013 organization that contains two distribution groups named Groupl and Group2.
You need to prevent the members of Groupl and Group2 from communicating with each other by using email, unless the email messages contain the string Press
Release in the subject.
Users whose email messages are rejected must receive a non-delivery report (NDR) that contains a status code of 5.7.3.
Which command should you run? (To answer, configure the appropriate options in the answer area.)
Hot Area:
Correct Answer:
Explanation/Reference:
Note:
*Box 1
/Use the New-TransportRule cmdlet to create a transport rule in your organization.
/Example:
New-TransportRule "BlockMessagesBetweenSalesAndBrokerage" -BetweenMemberOf1 "Sales-Group" -BetweenMemeberOf2 "Brokerage-Group" -ExceptIfFrom
"Tony Smith","Pilar Ackerman" -ExceptIfSubjectContainsWords "Press Release","Corporate Communication" -RejectMessageEnhancedStatusCode "5.7.1" –
RejectMessageReasonText "Email messages sent between the Sales department and the Brokerage department are prohibited."
* Box 2:
The SmtpRejectMessageRejectText parameter specifies a text string to add to the rejection message. You must use this parameter with the
Incorrect:
* Use the New-DlpPolicy cmdlet to create data loss prevention (DLP) policies in your Exchange organization.
* No parameter -ClassificationID
Box 2: should be RejectMessageEnhancedStatusCode
The RejectMessageEnhancedStatusCode parameter specifies an enhanced status code to provide when rejecting messages. Valid values are 5.7.1 or between 5.7.1 and 5.7.999.
Note:
The transport rule can add a custom rejection message. To further customize the delivery status notification (DSN), you need to create a custom DSN message using the New-SystemMessage cmdlet.
If an enhanced status code isn’t specified, and only the RejectMessageReasonText parameter is used, the enhanced status code 5.7.1 is used.
This parameter is used to define a rule action.
New-TransportRule: Exchange 2013 Help