Earlier quoted context omitted.
> - I run everything through the bash shell which works fine but is a pain to connect to Windows batch files. This makes automation harder than required. What are you using bash or batch files for? Have you tried PowerShell as a replacement for batch files?
My scripts are mostly trivial so far. PowerShell is awesome but it's another thing I haven't had time to learn enough about to use effectively. I actually have a C# console app as my build script because I can write things there so much faster than anywhere else. It makes calls to Windows and the occasional batch / bash script.
`Get-Help` and `Get-Member` are great discovery tools -- pipe anything to it, or do `Get-Member -inputObject $foo` and get all its properties.