Set-SfBClientWarnings.ps1

I recently rebuilt my PC and was annoyed by Skype for Business popping all of the newbie nag messages that I’d previously suppressed. “There has to be a way to suppress these en-masse” I say to myself. Whilst trawling through the Registry to find them it also occurred to me that when I’m delivering end-user …

Continue reading ‘Set-SfBClientWarnings.ps1’ »

Set-UxLoggingLevel.ps1

Following on from my recent script set-uxfxscountry-ps1, here’s another quick script that uses Vik Jaswal’s great PowerShell module for the Sonus SBC1000 & 2000 gateways. This one queries and displays on-screen the current logging level set in the gateway and lets you change the level of ALL of the components to a new value. I …

Continue reading ‘Set-UxLoggingLevel.ps1’ »

Get-ReplicationHealth.ps1

My current work project is to add an Australia-wide Lync deployment into a much larger global installation. As part of this I’ve found it’s sometimes a challenge to monitor just those bits that I’m responsible for. The Command “get-CsManagementStoreReplicationStatus” – or “get-CsMana<tab><tab>” as I prefer to call it – outputs too much “noise”, scrolling many …

Continue reading ‘Get-ReplicationHealth.ps1’ »

Convert-RibbonSbcConfigToWord.ps1

  Been here before? Know the deal? Jump to the revision history to see what’s in the latest update. … or go straight to the Downloads. The name’s a bit of a mouthful, but “Convert-RibbonSbcConfigToWord.ps1” takes the backup file from your Ribbon/Sonus SBC/UX 1000 or 2000 gateway and creates a new Word document, with all …

Continue reading ‘Convert-RibbonSbcConfigToWord.ps1’ »

Set-UxFxsCountry.ps1

Here’s a script from the quick & dirty category. Worthy of publishing, but not something I’m going to get around to polishing up to be all-singing and all-dancing. “Set-UxFxsCountry.ps1” uses Vik Jaswal’s fantastic PowerShell module for the Sonus UX/SBC family of gateways to automate what I reckon has to be the most tedious task of …

Continue reading ‘Set-UxFxsCountry.ps1’ »

Get-InvalidRgsAgents.ps1

On a recent window-shopping expedition through the event logs on a customer’s Front-End I stumbled across instances of warnings 31137 & 31138. These are generated when Lync realises that users belonging to RGS Agent Groups are no longer EV-enabled, or no longer exist. During the Active Directory update non-UC enabled agents were found. The following …

Continue reading ‘Get-InvalidRgsAgents.ps1’ »

Lync PowerShell Snippets

Here’s an ad-hoc post with a collection of snippets of PowerShell I often seem to find myself needing to refer to. There are some more good ones here from Paul Bloem, over the pond. How do I find (and/or count) the users homed to a given FE/pool? Get-CsUser | Where-Object {$_.RegistrarPool -match “<POOL FQDN>”} | …

Continue reading ‘Lync PowerShell Snippets’ »

MAdCaP.ps1 – A GUI for Lync Analog Devices & Common Area Phones

Creating and administering Analog Devices and Common Area Phones in Lync is sometimes a little tedious. I have a terrible record for forgetting to assign a PIN to Common Area Phones… Inspired by a customer (and to the horror of a purist peer) I’ve created a PowerShell script that provides a GUI for the administration …

Continue reading ‘MAdCaP.ps1 – A GUI for Lync Analog Devices & Common Area Phones’ »

Viewing Truncated PowerShell Output

Sometimes PowerShell truncates output, and if you don’t realise what’s going on, you’ll never get it to show. Where you’re expecting potentially lots more text, PowerShell replaces it with a single lousy ellipsis, cruelly taunting you. Column Width If it’s just a column width problem, the fix is simple enough: just pipe to out-string and add …

Continue reading ‘Viewing Truncated PowerShell Output’ »

Script to find Unused Numbers in Lync

Ståle Hansen has published a great PowerShell script that digs through the Lync CsUnassignedNumber list and mashes it against all of the possible uses of a number (including CsAnalogDevices, CommonAreaPhones, RGS, UMContacts and more) to report what numbers in a given number range are currently spare. It fills a yawning (and frustrating gap) in the …

Continue reading ‘Script to find Unused Numbers in Lync’ »