Microsoft Exam Questions

Which Windows PowerShell command should you run?

You administer Microsoft Exchange Online for Fabrikam, Inc. Fabrikam’s Exchange Online tenant domain name is fabrikam.onmicrosoft.com.
You verify the domain fabrikam.com in the Office 365 admin center and instruct other administrators to configure new Exchange Online users with fabrikam.com as the primary SMTP domain. The fabrikam.com domain is not federated.
A user reports that his reply-to address is displayed to external email message recipients as
User1@fabrikam.onmicrosoft.com.
You need to configure the user’s mailbox to meet the following requirements:
The user’s reply-to address must be User1@fabrikam.com.
The email address User1@fabrikam.onmicrosoft.com must function as a secondary email address for the user.
Which Windows PowerShell command should you run? parameter allows you to specify all the email addresses (proxy addresses) for the recipient, including the primary SMTP address. The first email address when you don’t use any values, or when you use multiple values of smtp is the primary SMTP email address. The email address that follows is the secondary email address.

A.
Set-Mailbox -Identity user1@fabrikam.onmicrosoft.com –EmailAddresses SMTP:user1@fabrikam.com,
user1@fabrikam.onmicrosoft.com

B.
Set-Mailbox -Identity user1@fabrikam.onmicrosoft.com –EmailAddresses SIP:user1@fabrikam.com

C.
Set-Mailbox -Identity user1@fabrikam.onmicrosoft.com –SecondaryAddress user1@fabrikam.com

D.
Set Mailbox –Identity user1@fabrikam.onmicrosoft.com -EmailAddresses
user1@fabrikam.onmicrosoft.com,user1@fabrikam.com

Explanation:

The Set-Mailbox cmdlet is used to modify the settings of existing mailboxes. Including the –EmailAddresses
References: https://technet.microsoft.com/en-us/library/bb123981(v=exchg.160).aspx