You are the Office 365 administrator for your company. The company uses Microsoft Exchange Online and
Microsoft Lync Online.
An employee named User1 has the user name, email address, and Lync address [email protected].
The employee requests that you change only his Lync address to [email protected].
You start a Windows PowerShell session and run the following commands, providing your admin account
credentials when prompted:
You need to complete the process of updating the employee’s Lync address without affecting any otheraddresses.
Which Windows PowerShell command should you run next?
A.
Set-Mailbox -Identity $ID -PrimarySmtpAddress $NewAddress
B.
Set-MsolUser -UserPrincipalName $ID –ProxyAddresses @{add=”$NewAddress”; remove=”$OldAddress”}
C.
Set-CsUser -Identity $ID –ProxyAddresses @{add=”$NewAddress”; remove=”$OldAddress”}
D.
Set-CsUser –Identity $ID –SipAddress $NewAddress
Explanation:
You can easily change the SIP address by running the Set-CsUser cmdlet:
Set-CsUser –Identity “Ken Myer” –SipAddress sip:[email protected]
https://equizzing.com/microsoft/which-windows-powershell-command-should-you-run-next-5/
“All right.
I think I got the truth.
From another test exam, I got a similar question. But the answers were different.
One was:
set-mailbox -identity $ID -emailaddresses @{add=”$newaddress”;remove=”$oldaddress”}
Which I’ve just tested. And it worked well.”
still think it is D since they make a new-csononlinesession and that will load the set-csuser cmd
https://technet.microsoft.com/en-us/library/jj994021(v=ocs.15).aspx
Answer D- The employee requests that you change “only his Lync address” to [email protected]
Option D Is correct.
-SipAddress
Unique identifier (similar to an email address) that allows the user to communicate using SIP devices such as Skype for Business. The SIP address must use the sip: prefix as well as a valid SIP domain; for example: -SipAddress sip:[email protected] .
Also we can Use SIP:[email protected] with -PrimarySmtpAddress because it works only with SMTP:XX.XXXX.com .
Little update here incorrectly posted.
Also we can’t Use SIP:[email protected] with -PrimarySmtpAddress because it works only with SMTP:XX.XXXX.com .