Rewrote windows file to use batch substitution and path manipulation instead of PowerShell. PowerShell wasn't working from within SourceTree.
Removed PowerShell script, since it's no longer needed. Manipulating the URLs worked fine using Batch SET and FOR commands. It's still pretty ugly.
Updated readme, added Windows information.