Added support for Windows execution using some really ugly PowerShell and Batch hacking. Largely untested due to lack of a full Windows environment.