Thursday 14 June 2012

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 Tom's 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.



1 comment:

  1. This Blog Is Very Useful ! Do you think your house needs a little adjustment? Sanjay Construction is one of the best house renovation firms in Madipakkam, Chennai. We are the best house renovation contractors in Madipakkam, Medavakkam, Pallikaranai, Keelkattalai, Velachery, Guindy, and Taramani. Our primary objective is to improve your standard of living and make it more comfortable by utilizing modern interior design techniques. We must remodel your home using our demolition, tiling, plumbing, painting, and other services. It is necessary to renovate any of the rooms to your liking.

    ReplyDelete