$ 0 0 You will have to do it in C# like I did for Posh-SSH, here is the next release of the module, it is almost a full re-write from the master branch https://github.com/darkoperator/Posh-SSH/tree/Release_0.4/PoshSSH