Don’t make me go get the error details

I hate every time I try to use the Copy Database Wizard, even now with the 2012 version of SSMS, because of this:



how… unexpected

Here I was hoping they’d be able to show a traffic spike and how their Azure-hosted site was able to handle the demand and elastically scale out.

Of course, maybe they’re just rejecting request from Chrome. 🙂


PowerShell to remove dead tracks from iTunes

There’s already existing methods for doing this, including an existing script RemoveDeadTracks.js – this was just because I was using the iTunes COM interface for other scripts anyway, so this kept me from having to download anything to do this.

The ‘verbose’ version of the script:

The one-liner version (if you just want something to copy-paste into a window) is:

(new-object –com itunes.application).LibraryPlaylist.Tracks | ?{ $_.Location -eq $null } | %{ $_.Delete() }