Sunday, July 1, 2018

Real Time Lync Call via PowerShell

Real Time Lync Call via PowerShell


Found a great PowerShell script today on LinkedIn called Peak Call Capacity which was created by Lync MVP/MCM Tom Pacyk.

Really informational script that will let you see in real time the number of current calls, the times they started, PSTN or Lync calls and inbound or outbound.
The screen shot below is a outbound call from me to my cell phone



if the call was an inbound call, the User1Uri would be PSTN call The next screen shot is a Lync to Lync call. Also in the below screen shot the 2 Lync users are federated and still showes both users sip address. And also note that the IsUser1Internal is set false.




Also this is a super simple script to run does not require indepth knowledge of powershell which is good for new professionals to Lync.
The script can be downloaded from Toms Blog
Once the script is downloaded, run the script using the following

PS > .Get-CsVoiceCalls.ps1 -server
If the lcscdr database is in a named instance, specify the instance
PS > .Get-CsVoiceCalls.ps1 -server -instance

Another great script from our MVP Lync Members.
I will be posting an article shortly that I will keep up to date on scripts and tricks I find that help the Lync Community.




visit link download