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

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

How to Reconnect a Disconnected Archive Mailbox in Exchange 2010

When trying to connect an archive mailbox in Exchange 2010, you may receive an error “The legacy DN ‘/O=ORG/OU=FIRST ADMINISTRATIVE GROUP/CN=RECIPIENTS/CN=KIM.AKERS’ of disconnected mailbox does not match user legacy dn ‘O=ORG/OU=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Kim.Akerts639’. WARNING: This article contains instructions on using ADSIEdit and PowerShell to perform tasks that could endanger the livelihood of your Active …

Continue reading ‘How to Reconnect a Disconnected Archive Mailbox in Exchange 2010’ »

Moving the Mouse Cursor with Windows PowerShell

We have several large plasma displays with some rudimentary presentation software on them (displaying RSS feeds, video stream etc). Unfortunately this software is..not ideally written… For this reason I have published out a script to have the computers restart every morning at 5AM. Unfortunately, as a result of this reboot, we end up with the …

Continue reading ‘Moving the Mouse Cursor with Windows PowerShell’ »