A simple SOAP template example of invoking a PowerShell command remotely via WS-Man (WinRM) ... this is one way you could build a PowerShell remoting client for non-PowerShell platforms.
This example shows how to create a runspace that uses WS-Management-based remoting to run commands on the local host. This same code could be used to connect to a remote computer.