Showing posts with label Lync. Show all posts
Showing posts with label Lync. Show all posts

Get current Logon Server.



Sometimes when logged into any windows machines/Servers you wonder about the exact logon server which you used to login. So, in-orderto gather the exact Logon Server Name you can use the following command in your powershell and it will display the exact logon Server Name:



[System.Environment]::GetEnvironmentVariable("logonserver")

Check AD property 'msRTCSIP-BaseSimpleUrl' of abcd@example.com on each domain controller.

One of the way how it can be done is by performing Lync cmdlet:

(Get-CsOnlineUser abcd@example.com -DomainController <DC>).BaseSimpleUrl

ex:
PS C:\Users> (Get-CsOnlineUser abcd@example.com -DomainController IHM-CAM-DC-1.example.com).BaseSimpleUrl
https://meet.lync.xyz.net/example.com/Meet