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
[email protected].
You need to configure the user’s mailbox to meet the following requirements:
The user’s reply-to address must be [email protected].
The email address [email protected] must function as a secondary email
address for the user.
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
[email protected].
You need to configure the user’s mailbox to meet the following requirements:
The user’s reply-to address must be [email protected].
The email address [email protected] must function as a secondary email
address for the user.
Which Windows PowerShell command should you run?

A.
Set MsolUser [email protected] AlternateEmailAddresses [email protected]

B.
Set-Mailbox -Identity [email protected] -ForwardingAddress “User 1”

C.
Set-Mailbox -Identity [email protected] [email protected]

D.
Set-Mailbox -Identity [email protected] -EmailAddresses
[email protected], [email protected]



Leave a Reply 18

Your email address will not be published. Required fields are marked *


Fernandez

Fernandez

Can anyone confirm is this is correct and why?

Fernandez

Fernandez

I meant *if this is correct…

User1

User1

Well the command is ok, but the answer has typo’s and shouold be:
Set-Mailbox -Identity [email protected] -WindowsEmailAddress [email protected]

A gives an alternate e-mail address, which isn’t what we want
B gives an error and if it would work it gave us a forward address
C is correct (but with typo’s)
D would be right is the e-mail addresses ar turned arround (first the fabrikam.com address, then the onmicrosoft.com address.

Hashin

Hashin

Its incorrect!

Correct answer is D

James

James

C is correct. Just tried it.

joni

joni

I think C is correct…

james

james

Would C give it a new default address or just an additional address?

Justin Thompson

Justin Thompson

I don’t think C is correct because it would set the primary email address as [email protected] while leaving the loging account as [email protected], but it doesn’t satisfy the requirement to leave [email protected] as a secondary email address. I also don’t see the -WindowsEmailAddress switch in the set-mailbox command. Maybe it was there before but TechNet no longer lists it:

https://technet.microsoft.com/en-us/library/aa998651%28v=exchg.150%29.aspx

Answer D comes close, but has them in the wrong order. My guess is that the list of proposed answers are incorrect.

http://o365info.com/manage-email-address-using-powershell/

TonyS

TonyS

Hi Justin,

I’ve just tried both propositions. Both commands work fine. They both set the PrimaryEmailAddress (showed in bold in the admin portal) to [email protected].

I noticed a little difference. for me [C] is simpler and more secure. I also guess that the exame want you to understand that using WindowsEmailAddress sets the primary EMail Address.

The difference is with [D] you need to provide the FULL list of EmailAddress you want for the user. It doesn’t APPEND. It redefines the list. For instance I add a SIP address before running the command and the command proposed in [D] simply redefines the list of EmailAddresses for that user and therefore deletes my SIP adress.

I think C is correct because it’s easier and more secure.

Thanks

Justin Thompson

Justin Thompson

Hi TonyS,

I think you maybe correct. Question #67 is similar and when testing the -WindowsEmailAddress it worked the same for me as you described. It’s not documented well on the TechNet article, but is easier.

korpski

korpski

Technet docs on Set-Mailbox now does reflect the WindowsEmailAddress parameter’s behavior.

https://technet.microsoft.com/en-us/library/bb123981(v=exchg.160).aspx

And the answer has to be C, not D, as D won’t change the current setup. By not using smtp: (lowercase) or SMTP: (uppercase) prefixes, and putting the onmicrosoft address first, executing D continue to make the onmicrosoft e-mail address the primary (sent-from) one.

Technet docs on both the EmailAddresses parameter and parameter:

** EmailAddresses **

The EmailAddresses parameter specifies all the email addresses (proxy 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. However, you can use this parameter to configure other proxy addresses for the recipient. For more information, see Email address policies.

Valid syntax for this parameter is []:,[]:…. The optional value specifies the type of email address. Some examples of valid values include:
SMTP The primary SMTP address. You can use this value only once in a command.
smtp Other SMTP email addresses.
X400 X.400 addresses in on-premises Exchange.
X500 X.500 addresses in on-premises Exchange.

If you don’t include a value for an email address, the value smtp is assumed. Note that Exchange doesn’t validate the syntax of custom address types (including X.400 addresses). Therefore, you need to verify that any custom addresses are formatted correctly.

To specify the primary SMTP email address, you can use any of the following methods:
– Use the value SMTP on the address.
– The first email address when you don’t use any values, or when you use multiple values of smtp.
– If it’s available, use the PrimarySmtpAddress parameter instead. You can’t use the EmailAddresses parameter and the PrimarySmtpAddress parameter in the same command.

To replace all existing proxy email addresses with the values you specify, use the following syntax: “[]:”,”[]:”….

To add or remove specify proxy addresses without affecting other existing values, use the following syntax: @{Add=”[]:”,”[]:”…; Remove=”[]:”,”[]:”…}.

** WindowsEmailAddress **

The WindowsEmailAddress parameter specifies the Windows email address for this recipient. This is a common Active Directory attribute that’s present in all environments, including environments without Exchange. Using the WindowsEmailAddress parameter on a recipient has one of the following results:

– In on-premises environments where the recipient is subject to email address policies (the EmailAddressPolicyEnabled property is set to the value True for the recipient), the WindowsEmailAddress parameter has no effect on the WindowsEmailAddress property or the primary email address value.

– 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.

The WindowsEmailAddress property is visible for the recipient in Active Directory Users and Computers in the E-mail attribute. The attribute common name is E-mail-Addresses, and the Ldap-Display-Name is mail. If you modify this attribute in Active Directory, the recipient’s primary email address is not updated to the same value

Josh

Josh

Answer is C.

Ryan

Ryan

if you run the help command…

help Set-Mailbox -Parameter WindowsEmailAddress

-WindowsEmailAddress
The WindowsEmailAddress parameter specifies the Windows email address for this recipient. This is a common Active Directory attribute that’s present in all environments, including environments without Exchange. Using the WindowsEmailAddress parameter
on a recipient has one of the following results:

* In on-premises environments where the recipient is subject to email address policies (the EmailAddressPolicyEnabled property is set to the value True for the recipient), the WindowsEmailAddress parameter has no effect on the WindowsEmailAddress
property or the primary email address value.
* 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.
The WindowsEmailAddress property is visible for the recipient in Active Directory Users and Computers in the E-mail attribute. The attribute common name is E-mail-Addresses, and the Ldap-Display-Name is mail. If you modify this attribute in Active
Directory, the recipient’s primary email address is not updated to the same value.

So reading that doesn’t sound like it will update the primary SMTP address. Am i missing something?

K

K

As others have quoted from:

“…the WindowsEmailAddress parameter updates the WindowsEmailAddress property and the primary email address to the same value.”

= C

Michele Manes

Michele Manes

Just wrote my 70-347 exam few days ago for the second time, finally passed!

Scored 922/1000!

Some questions were from this site, HOWEVER, some questions were reworded and changed (you’d better learn the newest 70-347 dumps).

And, the Yes/No questions and Case Studies questions that you need to think well before answering them.

DO NOT CHOOSE THE ANSWERS BEFORE THINKING CAREFULLY!!!

A lot of new questions (Skype for Business and not Lync for example).

For the newest 70-347 dumps, I recommend you to get it here:

http://www.passleader.com/70-347.html

(194q VCE and PDF)

All new Qs are available, and old Qs and wrong As have been updated, which are the most valid 70-347 dumps now!

Michele Manes

Michele Manes

And,

part of that 194Q dumps are FREE here:

https://doc.co/bz5jCS

Good Luck! Wish You Pass Exam 70-347 Luckily!!