Invoke-ConditionalShutdown.ps1

Windows natively won’t let you schedule a system shutdown, but there are plenty of posts on the Internet that show you how to create a Scheduled Task that will do that for you. Having recently added a solar+battery setup to our home, I’ve been on a (belated) mission to reduce our overnight power consumption, and …

Continue reading ‘Invoke-ConditionalShutdown.ps1’ »

New-OoklaSpeedTest.ps1

In my post “Get-WeatherLinkData.ps1” I mentioned we use the free version of Paessler’s PRTG Network Monitor to monitor all we have here. It’s a great little monitoring platform, and we use it to not only keep an eye on the servers and various web-pages we run, but also track and trend our weather. After suffering …

Continue reading ‘New-OoklaSpeedTest.ps1’ »

Get-WeatherLinkData.ps1

We’ve had a Davis Instruments Vantage Vue weather station on the roof for some time now, and with the addition of the “WeatherLinkIP datalogger” its data is uploaded to the greater Davis WeatherLink platform automatically. Their service is subscription-based, and we’ve not seen sufficient value in giving them ~AUD5/month to have access to the historical data, …

Continue reading ‘Get-WeatherLinkData.ps1’ »

Get-RibbonSbcUptime.ps1

Inspired by a question from John Cook on Twitter, I’ve taken my “Update-RibbonADCache.ps1” script, and through the magic of “Save As” we now have Get-RibbonSbcUptime.ps1. Get-RibbonSbcUptime.ps1 invokes a REST login to your Sonus/Ribbon SBC 1k/2k/SWe-Lite and reports how long it’s been running: the CpuUptime. It outputs to the pipeline either a timespan object, or a …

Continue reading ‘Get-RibbonSbcUptime.ps1’ »

New-ObfuscatedFile.ps1

  I have the occasional need to send log files to Microsoft and other vendors from customers who have strict IT security requirements. These customers usually require all files be de-identified before they leave the premises, removing all host names and IP addresses. This can be quite a tedious process, so I’ve created a small …

Continue reading ‘New-ObfuscatedFile.ps1’ »

Test-EdgeConnectivity.ps1

The larger and more complex your on-prem SfB installation is, the greater the likelihood of encountering firewall problems. If you run this script on your Front-End server(s) it will: query the topology to find all of the Edge servers. (Add the “-site” switch to only retrieve those in a given topology site) initiate a TCP …

Continue reading ‘Test-EdgeConnectivity.ps1’ »

Update-RibbonADCache.ps1

If you click the Sonus category here you’ll quickly notice that I’ve written about the Sonus/Ribbon REST interface on and off for years now, as it’s such a handy way of peeking and poking into the SBC without interacting with the browser. And so it came to pass last week that when presented with a …

Continue reading ‘Update-RibbonADCache.ps1’ »

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

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