Searching log files the easy way

Want to search through, say, a directory full of log files for a specific message? PowerShell to the rescue! PS C:\> get-item *.log | Select-String -Pattern “Race Condition” 12-19-2017 02.44.02 PM.log:93413:SIP/2.0 200 Race Condition Subfolders too: PS C:\> Get-ChildItem c:\<Path>\*.log -Recurse | Select-String -Pattern “Race Condition” Ongoing Support\20171011-SIP503s\Logs-20171219\12-19-2017 02.44.02 PM.log:93413:SIP/2.0 200 Race Condition

Calls to SfB RGS drop instantly – FE logs event 31140

If you’ve ever created a Lync or Skype for Business Response Group Workflow using PowerShell you really appreciate how quick and easy it is to do from the Response Group browser interface, the “Response Group Configuration Tool”. Unfortunately sometimes the PowerShell path is unavoidable: if you have more than 4 options in an IVR menu, …

Continue reading ‘Calls to SfB RGS drop instantly – FE logs event 31140’ »

Convert-SonusSbcConfigToWord.ps1 – Revision History

I’ve been bashing at this script for over eight years now and the main post’s getting a bit long with the revision history. I’ve taken a leaf from a peer’s book and decided to spin the entire history out into its own post. Whether the ancient history is of use to anyone remains to be …

Continue reading ‘Convert-SonusSbcConfigToWord.ps1 – Revision History’ »

Update-SfbCertificate.ps1

Skype for Business – like so much else these days – relies on PKI certificates, and the community has risen to the opportunity with some great tools to help us manage them. Here are two in my “essentials” kit: Check out the “Lync Certificates Report“: If you’ve not found it already, Guy Bachar & Yoav …

Continue reading ‘Update-SfbCertificate.ps1’ »

Compare-PkiCertificates.ps1

I recently went looking for a script that would compare two “identical” certificates for me and highlight the differences between them. I drew a blank. It might be out there, but I missed it – so I wrote my own. “Compare-PkiCertificates.ps1” takes the thumbprints of two certificates you expect to be similar or identical, and …

Continue reading ‘Compare-PkiCertificates.ps1’ »

Mucking with MWI – Part I

In the process of migrating a customer to Lync recently we inherited an obligation to provide a *BIG* Message Waiting Indicator (MWI) light when-ever a voicemail message arrived in a particular high-priority mailbox. We figured there were a number of ways we could do this: Optically couple to the MWI LED on an LPE or …

Continue reading ‘Mucking with MWI – Part I’ »

New-LyncMeetingWarmup

Complaints regarding a slow meeting join process in Lync aren’t at all uncommon, and in many cases are actually as a result of IIS’s automatic recycling process, itself intended to improve reliability of the IIS websites. Drago Totev has published a fantastic process by which you can ensure your Lync IIS application pools are always …

Continue reading ‘New-LyncMeetingWarmup’ »

Test-CallRouting.ps1

Lync’s Roles-Based Access Control (RBAC) is great fun. It lets you fairly precisely define the rights of a user: you can easily grant or restrict access to specific commandlets, or apply scoping so that a commandlet can be run, but only against a subset of objects (like say a specific site). I’m quite used to …

Continue reading ‘Test-CallRouting.ps1’ »