GitXplorerGitXplorer
r

RemotePowerShell

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
2f8c86cd9de91e43d08f5eb3fb8d404a9755eaa9

Create README.md

rrrader committed 12 years ago
Unverified
2881b445a4e1a82264091e0a6b342d9cd83a554c

Initial

rrrader committed 12 years ago

README

The README file for this repository.

RemotePowerShell

Use powershell remotely from linux (or any other) host

Windows host

On Windows Server host run::

> python.exe serve.py

Don't forget to open 42000 port for inbound connections.

Remote host

You can call powershell commands with::

$ python rps.py -s "echo 'Hello world'" -h 25.84.118.43

Python module

You can use powershell in python modules like::

 >>> import serve
 >>> rps = serve.RemotePowerShell("example.com")
 >>> print rps("echo HELLO")
 HELLO