List all SfBS & SfBO policies by type

Here’s a “one-liner” I came up with this week that dumps ALL of the SfB policies in your system ordered by type: PS C:\> Get-Command -Module SkypeForBusiness Get-Cs*Policy | where-object {$_.Name -ne “Get-CsEffectivePolicy”} | ForEach { invoke-expression $_.name } | ft @{Label=”Policy type”; Expression={($_.getType()).ToString().Split(‘.’)[-1]}}, identity -auto This is what it looks like here in the …

Continue reading ‘List all SfBS & SfBO policies by type’ »

SfB 2015 Server Update – May 2020

It’s been a whole nine months since we saw an update for Skype for Business Server. That was CU10 HF1. This is build 6.0.9319.580, and it updated seven components on my Standard Edition Front-End. What’s Fixed? This cumulative update includes a defense in depth fix and enables Location-Based Routing to support the Skype for Business …

Continue reading ‘SfB 2015 Server Update – May 2020’ »

Migrating Gallery.TechNet to GitHub made easier

TL;DR: My “New-ObfuscatedFile.ps1” script uses a find/replace CSV file to make multiple substitutions in a text file in one pass. It can be easily repurposed to turn HTML into MarkDown. Microsoft’s Gallery.TechNet.microsoft.com site will be sorely missed when it’s closed later in the year. It’s been a fantastic repository of tools, documents and utilities, and …

Continue reading ‘Migrating Gallery.TechNet to GitHub made easier’ »

Use a UI Flow to automate web forms – Pt.2

TL;DR: Part 2: add an On-premises Data Gateway & trigger a “UI Flow” via a web hook, initiated by a “flic” smart button. In my last post I demonstrated how you can use the new “UI Automation” functionality inside Power Automate (pka Microsoft Flow) to fill out a web form. In that example I automated …

Continue reading ‘Use a UI Flow to automate web forms – Pt.2’ »

SfBS 2019 CU2 HF1 March 2020

Things have been a bit quiet on the updates front of late, and today’s hotfix for SfB Server 2019 barely caused a ripple. This update builds upon December’s CU2, only updating two components on my SE Front-End. It takes the build from 7.0.2046.151 to 7.0.2046.216. What’s Fixed? Kb 4552637 “Fatal error during installation” error when …

Continue reading ‘SfBS 2019 CU2 HF1 March 2020’ »

Raspberry Pi shutdown button

We have a small but growing collection of Raspberry Pi devices here. They’re performing a range of tasks: one’s our Pi-Hole, another runs the “Homebridge” middleware between Apple’s HomeKit and our Clipsal C-Bus, whilst a third is running the management app for the Ubuntu WiFi. And of course plenty more are strewn around the place …

Continue reading ‘Raspberry Pi shutdown button’ »

Begin-Process-End in a PowerShell script

Much has been written about how you need to use Begin/Process/End blocks in order to handle a collection of values passed from the pipeline, but those posts all seem to focus on how to do it in a *function*, not a script. I recently struggled to figure out how to retrofit this functionality into one …

Continue reading ‘Begin-Process-End in a PowerShell script’ »

Adventures with Import- and Update-CsUserData Pt.4

I’ve spent a lot of time in the past 12 months working with the <verb>-CsUserData commandlets in SfB, and it’s been an interesting time. This is part 4 in a series where I document the traps I’ve fallen into with the Import-CsUserData and Update-CsUserData commands in particular. Part 1 – Update-CsUserData fails on bad data. …

Continue reading ‘Adventures with Import- and Update-CsUserData Pt.4’ »