Added support for windows with powershell 2+
fixed oneliner
Merge pull request #2 from VGerris/win_support

Win support