8000 GitHub - kroshilin/winrm: Push any powershell command to windows host via Python library diyan/pywinrm
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kroshilin/winrm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation and usage

Use this util to execute powershell commands on windows hosts.
In order to use it you need to install python and https://github.com/diyan/pywinrm

composer require kroshilin/winrm-client

Example

    $winRm = new WinRm('127.0.0.1', 'admin', 'password');
    try {
        $result = $winRm->executeCommand('echo "Hello world"');
    } catch (\Exception $e) {
        // handle exceptions
    }

    return $result;

About

Push any powershell command to windows host via Python library diyan/pywinrm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
294A
0