PrepAway - Latest Free Exam Questions & Answers

Which Windows PowerShell command should you run next?

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 User1@contoso.com.
The employee requests that you change only his Lync address to User1-Sales@contoso.com.
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?

PrepAway - Latest Free Exam Questions & Answers

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:kenmyer@litwareinc.com

5 Comments on “Which Windows PowerShell command should you run next?

  1. singhish says:

    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:XX@XXX.com .

    Also we can Use SIP:User1-Sales@contoso.com with -PrimarySmtpAddress because it works only with SMTP:XX.XXXX.com .




    0



    0

Leave a Reply