Skip to content

machacekondra/winremote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

$ winremote --username=Administrator --password=****** --ip=10.0.0.1 services get WinRM
{'Name': 'WinRM', 'StartMode': 'Auto', 'State': 'Running'}

Equals to this python code:

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, so please follow its readme to setup your windows machine to work via WinRM.

About

Tool to manage your windows machines remotely

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages