Point an Express.js App at Google Storage Bucket Files for Let's Encrypt Authentication

In this post, I'll show you how to store the keys in a Google Cloud Storage Bucket instead of statically in the code. This will allow you to update your certificate authentication with Let's Encrypt without deploying a new version of your app (thank goodness), and is a great first step towards automating this process entirely.

Manually Deploy Express.js App to Google App Engine with Let's Encrypt Cert

I didn't find a guide that brought this all together on the web, so here it is. We are going to be adding a module to our app that will be returning the correct text for the Let's Encrypt validation, using express middleware to direct the route correctly, and having a lot of fun!

Export and Disable Exchange Mailboxes With Specific Attributes Using PowerShell

I have been working on archiving and removing a a little over 3000 Exchange Mailboxes that had been sitting since my client's move to Google Apps. Obviously, I didn't want to manually go through and export and disable all of the mailboxes, so I made a quick and dirty script which I thought I would share here. Emphasis on quick and dirty here. :)

Enable Windows Photo Viewer in Server 2016

Windows Server 2016 has a lot of things disabled out of the box as to improve responsiveness and reliability. One of those things is Windows Photo Viewer. In this quick tutorial, I'll show you how to enable it. Now as you read through this, you might be wondering if there is a way to enable the Photo Viewer with Windows add / remove features or some built-in utility like that, but as much as I searched, I could not find a way to do it from within Windows Server 2016. So this method uses a donor OS.

PowerShell Magic - Add Department Property to Google User Export

Okay okay, it's not magic, but this is still a great use case for some quick and dirty PowerShell scripting. Context: Google Mail is unable to export a user list that includes the 'Department' field that is being synchronized from Active Directory, but I am being asked to take a google export of several thousand users from another group, and add the Department field from AD into the export. Fortunately, PowerShell makes this kind of task a breeze!

Using PowerShell to Remove Old AD Computers

A common problem I see at different businesses is a ton of computer objects just hanging out in Active Directory for machines that were removed from service a long time ago. Here is a quick set of powershell commands I use to get those removed quickly and easily! NOTE: you will need the Microsoft Remote Server Administrator Tools (RSAT) installed and enabled on the machine you are running this on in order to use these modules.

First, you need to make an array that has all of the old computers in it: