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? addresses) for the recipient, including the primary SMTP address. In on-premises Exchange organizations, the primary SMTP address and other proxy addresses are typically set by email address policies. value specifies the type of email address. Some examples of valid values include:

A.
Set-Mailbox -Identity user1@fabrikam.onmicrosoft.com -EmailAddressesSMTP: user1@fabrikam.com,
user1@fabrikam.onmicrosoft.com

B.
Set-Mailbox -Identity user1@fabrikam.onmicrosoft.com -ForwardingSmtpAddress user1@fabrikam.com

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

D.
Set MsolUser –UserPrincipalName user1@fabrikam.onmicrosoft.com -AlternateEmailAddresses
user1@fabrikam.com

Explanation:

The EmailAddresses parameter, of the Set-Mailbox command, specifies all the email addresses (proxy
Valid syntax for this parameter is [<Type>]:<emailaddress1>,[<Type>]:<emailaddress2>…. The optional <Type>
If you don’t include a <Type> value for an email address, the value smtp is assumed.