locked
To export Skype for business online users RRS feed

  • Question

  • Hi,

    I need PS command to export Skype for Business online users who is having different SIP and email address.

    Thanks in Advance.

    Regards,
    MS


    • Edited by MadhuSri011 Friday, January 4, 2019 5:13 AM
    • Moved by Bill_Stewart Friday, March 15, 2019 4:58 PM This is not "scripts on demand"
    Friday, January 4, 2019 5:11 AM

All replies

  • Hi Madhu,

    Check each of them to identify which sip addresses do not match e-mail addresses.

    $users = Get-CsUser -filter {WindowsEmailAddress -like "*@yourdomain.com"}

     

    foreach ($user in $users) { $sipaddress = "sip:" + $user.WindowsEmailAddress

    if ($sipaddress -ne $user.SipAddress)

    {

    Write-Host $user.DisplayName : $user.WindowsEmailAddress mismatch

    }

    }

    Also please visit this blog for more info.

    http://powershellblogger.com/2015/10/automate-sip-address-and-upn-name-changes-in-lync-skype-for-business/

    Hope this helps...

    ---------------------------------------------------------------------------------------------------------

    Please don't forget to “mark the replies as answers” if they helped, also set "like" it’s a boost for us to keep blogging J

    Click here to learn more. Visit the dedicated Community forum to shareexplore and talk to experts about Microsoft Kaizala.

    Friday, January 4, 2019 5:37 AM