Hilariously, I have managed to do productive things with Applescript (as annoying as it can be), but I can't say the same for PowerShell.