Category Archives: Programming

If code is involved, it goes here. Yes, I know that HTML isn’t programming and that a lot of application developers don’t consider scripting to be ‘programming’, but for the purposes of this site, lets not get too picky.

Converting audio files en masse

We recently got a new (used) family van that has a 40 gig hard drive in the dash to store MP3 files. Problem is, a lot of my audio files were stored as M4A, which the van doesn’t have a … Continue reading

Posted in Programming | Tagged , , , , , | Leave a comment

Multi-threading Maven builds with PowerShell Jobs and a .NET Queue

I was recently given a copy of the script used on our Jenkins server to deploy our Java code base.  My boss wanted to get it working so devs could have a script to compile code on their local sandboxes, … Continue reading

Posted in DevOps, Programming | Tagged , , , , , | 2 Comments

PowerShell Function Run-CommandLine

So in this server build script that I’m working on there are several times when external executables are called, such as when I use the operator to call ICACLS for setting share permissions (& ICACLS.exe $folderName /GRANT $ADObject`:(OI)(CI)$ICACLSpermission). Sometimes calls … Continue reading

Posted in Programming | Tagged , , | Leave a comment

PowerShell Function Set-PageFile

Here is a function for working with the Windows page file. You can use it to change the path (it will delete the old one and make a new one for you) or modify initial and maximum size. function Set-PageFile … Continue reading

Posted in Enterprise Management, Programming | Tagged , , , , | Leave a comment

PowerShell command line menu

I’ve been working on a server build script to assist our server team in automating their server build outs. The objective was to select which environment the server is being built in (Alpha, Dev, etc.) then the type of server … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

Updating Active Directory using PowerShell and SQL

There are a ton of examples out there on how to use CSV files to import user accounts into AD, but personally I prefer SQL to power the data that I’m pulling into my scripts when I can. Case in … Continue reading

Posted in Enterprise Management, Programming | Tagged , , , | Leave a comment

UPDATED: Inventory Outlook GAL

Recently my company was acquired and the first thing to be migrated was our email infrastructure. Firstly, this makes all the work I did inventorying the Rackspace system both very useful up front and very useless once we’ve transitioned. The … Continue reading

Posted in Programming | Tagged , , , , , | 2 Comments