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?

A.
Set MsolUser -UserPrincipalNameUser1@fabrikam.onmicrosoft.com -AlternateEmailAddresses
user1@fabrikam.com

B.
Set-Mailbox -Identity user1@fabrikam.onmicrosoft.com -ForwardingAddress “User 1”

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

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