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 share, explore and talk to
experts about Microsoft Kaizala.