restructered MS Windows powershell client checks like Linux/UNIX, resolves #42