Convert Camel Case to space delimited Display Name with PowerShell

I’m writing a very rudimentary script that has a need to convert something like “groundFloorMeetingRoom” to “Ground Floor Meeting Room”. Rather than prompt the user to enter this, I decided it’d be easier to just get the script to do it. This turned out to be a fun little exercise, resulting in the CamelCaseToDisplayName function …

Continue reading ‘Convert Camel Case to space delimited Display Name with PowerShell’ »

How to (hopefully) get your camera back after losing it

I see way too many blog posts and Reddit threads about “I found a camera. Do you know these people?”. It always seems so fruitless and you rarely hear about a happy ending. After recently acquiring a shiny new Canon 24-105mm f/4L USM lens, and without wanting to engrave my details all over my stuff, …

Continue reading ‘How to (hopefully) get your camera back after losing it’ »

Configure Exchange 2010 to Reject messages with Capitalised Subjects

Upon receiving a few emails with their subjects entirely in capital letters, I wondered if I could defuse my extreme frustration at this situation using every Exchange admin’s best friend; the Transport Rule. I was able to create the following transport rule to bounce/reject all messages with only capital letters in the subject, including ignoring …

Continue reading ‘Configure Exchange 2010 to Reject messages with Capitalised Subjects’ »

Server Local Admin Password Audit

A situation arose where I had to check all our Windows servers to see if any were using a particular local administrator password. I wrote the following script to allow me to test a dynamically generated set of credentials. It uses WMI because that allows specifying a particular set of credentials and is relatively lightweight …

Continue reading ‘Server Local Admin Password Audit’ »