Tool to manage your windows machines remotely
Project description
# WinRemote
This package is primarily a library which helps you remotely manage your
windows machine. Secondly it's command line tool to manage windows machine
remotely. The command line tool calls directly specific module. Modules are
very easily extensible. You can write your own and use it from command line
immediately, only specifying its name and module function.
For example this command:
```bash
$ winremote --username=Administrator --password=****** --ip=10.0.0.1 services get WinRM
{'Name': 'WinRM', 'StartMode': 'Auto', 'State': 'Running'}
```
Equals to this python code:
```python
import pprint
import winrm
from winremote import winremote
from winremote.modules import services
session = winrm.Session(target='10.0.0.1', auth=('Administrator', '******'))
pprint.pprint(
services.get(
winremote.Windows(session, winremote.WMI(session)),
'WinRM'
)
)
```
This package uses [pywinrm](https://pypi.python.org/pypi/pywinrm/),
so please follow its readme to setup your windows machine to work via WinRM.
This package is primarily a library which helps you remotely manage your
windows machine. Secondly it's command line tool to manage windows machine
remotely. The command line tool calls directly specific module. Modules are
very easily extensible. You can write your own and use it from command line
immediately, only specifying its name and module function.
For example this command:
```bash
$ winremote --username=Administrator --password=****** --ip=10.0.0.1 services get WinRM
{'Name': 'WinRM', 'StartMode': 'Auto', 'State': 'Running'}
```
Equals to this python code:
```python
import pprint
import winrm
from winremote import winremote
from winremote.modules import services
session = winrm.Session(target='10.0.0.1', auth=('Administrator', '******'))
pprint.pprint(
services.get(
winremote.Windows(session, winremote.WMI(session)),
'WinRM'
)
)
```
This package uses [pywinrm](https://pypi.python.org/pypi/pywinrm/),
so please follow its readme to setup your windows machine to work via WinRM.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
winremote-1.1.4.tar.gz
(5.5 kB
view details)
File details
Details for the file winremote-1.1.4.tar.gz
.
File metadata
- Download URL: winremote-1.1.4.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 089fd777b3b5c3da3182479c869e28b290f1661854c45bf60b55e0935fcfecac |
|
MD5 | 9024d53dba647edf627d8512bb027df6 |
|
BLAKE2b-256 | ff1273d5a95e6bbbf963bae0649e2acf3dfc700ad199a22ebd3272432439c15b |