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 other addresses.
Which Windows PowerShell command should you run next?
A.
Set-MsolUser -UserPrincipalName $ID -ProxyAddresses@{add = “$NewAddress”; remove = “$OldAddress”>
B.
Set-Mailbox -Identity $ID -EmailAddresses@{add = “$NewAddress”; remove = “$Old Address”}
C.
Set-Mailbox -Identity $ID -WindowsEmailAddress $NewAddress
D.
Set-CsUser -Identity $ID -ProxyAddresses@{add = M$NewAddress”; remove=”$OldAddress”>
This answer is wrong as ‘Set-Mailbox’ will change the email address which is not required. ‘Set-CsUser’ is used to configure Skype accounts.