Compare-Objects.ps1

Hands up if you’ve tried to compare 2 objects of some type to see what – if any – differences there are between them? I tried and gave up. PowerShell’s native “Compare-Object” isn’t very helpful. It will tell you IF there’s a difference, but it’s not particularly forthcoming. Borne of that experience comes “Compare-Objects.ps1”. You …

Continue reading ‘Compare-Objects.ps1’ »

Adding Direct Trunk Select to Skype for Business

At about the same time any given Skype for Business deployment gains its second PSTN gateway / Session Border Controller, the old diagnostician in me wants a means to be able to directly send calls to each one individually. By being able to directly focus my outgoing calls on just one SBC I can confirm …

Continue reading ‘Adding Direct Trunk Select to Skype for Business’ »

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 almost 4 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’ »