zenchild/WinRM — pull request #25 by pmorton (2012-05-31 16:29:59+00:00)
Title: Powershell scripts need to be null terminated to run properly

@zenchild - in working on some vagrant integration, I found that powershell scripts would not run properly in some cases. As it turns out, in addition to the encoded string needing to be joined on null characters, it also need to be terminated by a null character. I have tested on OSX and all works properly.

Cheers,

Paul