Southwest Airlines Powershell Checkin Script

If you’ve ever flown Southwest Airlines you know that getting checked in as soon as you can is key to not getting stuck at the end of boarding group C and ending up in a middle seat in the back of the plane. This awesome Powershell script (courtesey of Bill Grauer) allows you to set a scheduled task to automatically check in your flight for you, so you don’t have to mess with calendar reminders or forgetting it entirely.

The script takes 3 parameters: First, Last, and Conf. Schedule it to run 1 minute before your checkin time and it will loop through for a few minutes or until you’re checked in. I also updated the log location to be my Dropbox folder, allowing me to validate that the check-in was successful from my mobile device (or anywhere else with Dropbox access).


COM+ Settings Automation

Recently, while trying to automate a Citrix XenApp installation I came across an issue documented in Citrix KB CTX134504, causing the IMA service to fail to start. Adjusting the COM+ settings in this case allows IMA to start, but I don’t like clicking boxes and prefer to automate as much as possible. After some online searching, I came across this blog post from Rikard Alard that has details on how to automate COM+ settings through PowerShell. This had the code that I was looking for. The ApplicationAccessChecksEnabled value corresponds to the “Enforce access checks for this application” checkbox. A quick test and this did the trick.

$comAdmin = New-Object -comobject COMAdmin.COMAdminCatalog
$apps = $comAdmin.GetCollection("Applications")
$app = $apps | Where-Object {$_.Name -eq "CitrixLogServer"}
# Disable the Enforce access checks for this application option
$app.Value("ApplicationAccessChecksEnabled") = 0

I still need to get to the root of the issue of why it was failing in the first place, but this allowed me to get a workaround in place to keep the IMA service running.

First Post

So this is my blog. I’ll be throwing things on here of interest to me, and if you’ve found you’re way here there might be something of interest to you. Mostly tech, with some spattering of everything else thrown in.