PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

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

2 Comments on “Which Windows PowerShell command should you run?

  1. Marty McFly says:

    1. Alternate email address is the one you set for password resets if you have locked out your O365 account, hence it is recommended not to set it to your O365 default SMTP.
    https://community.office365.com/en-us/f/148/t/81177. It can also be used in on-prem by dirsync when setting up sync between onprem and cloud.
    2. Does what it says on the tin https://technet.microsoft.com/en-us/library/bb123981%28v=exchg.160%29.aspx
    3. By Default the EmailAddressPolicyEnabled value on an Exchange Online /O365 mailbox is set to false, in which case changing the WindowsEmailAddress value will modify the default SMTP (and not affect the secondary or any other email addresses) https://technet.microsoft.com/en-us/library/bb123981%28v=exchg.160%29.aspx get-mailbox RobinC@******.onmicrosoft.com | select displayname,emailaddresses,Primarysmtp*,windowsemail*,Forwarding*

    RESULT

    DisplayName : Robin Counts
    EmailAddresses : {SPO:SPO_d388851b-653b-407e-bdab-e5e089f9ada9@SPO_13bb99a0e1da-4017-afcf-51ae561264f1, SIP:RobinC@*****.onmicrosoft.com, SMTP:RobinC@*****.onmicrosoft.com}
    PrimarySmtpAddress : RobinC@*****.onmicrosoft.com
    WindowsEmailAddress : RobinC@*****.onmicrosoft.com
    ForwardingAddress :
    ForwardingSmtpAddress :

    Now watch what happens to the SPO and SIP addresses if I change using answer 4.

    SET THE ADDRESSES

    PS C:\Powershell> set-mailbox -Identity RobinC@*****.onmicrosoft.com -EmailAddresses StealingSucks@LODS*****.onmicrosoft.com, RobinCounts@******.onmicrosoft.com

    CHECK THE LIST OF EMAIL ADDRESSES AGAIN

    PS C:\Powershell> get-mailbox RobinC@****.onmicrosoft.com | select displayname,emailaddresses,Primarysmtp*,windowsemail*,Forwarding*

    DisplayName : Robin Counts
    EmailAddresses : {smtp:RobinC@*******.onmicrosoft.com,
    smtp:RobinCounts@******.onmicrosoft.com,
    SMTP:StealingSucks@******.onmicrosoft.com}
    PrimarySmtpAddress : StealingSucks@******.onmicrosoft.com
    WindowsEmailAddress : StealingSucks@***.onmicrosoft.com
    ForwardingAddress :
    ForwardingSmtpAddress :

    As you can see I have successfully change the default smtp (as it is displayed in caps SMTP: indicates primary) and also removed the SIP and Sharepoint address. I don’t think you’d want to do that unless it was your last day already and you were heading to the pub.

    Option 3 is the correct answer.




    0



    0
  2. Anna says:

    The WindowsEmailAddress parameter specifies the Windows email address for this recipient.
    In cloud environments or in on-premises environments where the recipient isn’t subject to email address policies (the EmailAddressPolicyEnabled property is set to the value False for the recipient), the WindowsEmailAddress parameter updates the WindowsEmailAddress property and the primary email address to the same value.

    Agree with C.




    0



    0

Leave a Reply