winexe

0.4.0 • Public • Published

winexe

Wrapper around the winexe and psexec|paexec

Install

npm install winexe

Usage

var WinExe = require('winexe');
 
var winexe = new WinExe({
    username: 'LOGIN',
    password: 'PASSWORD',
    host: 'IP-ADDRESS',
    timeout: 60000 // optional timeout in ms, winexe process will be killed with SIGKILL
});
 
// Run command on remote host
winexe.run('cmd.exe /c ipconfig /all', function (err, stdout, stderr) {
    // console.log(stdout);
});

/winexe/

    Package Sidebar

    Install

    npm i winexe

    Weekly Downloads

    3

    Version

    0.4.0

    License

    MIT

    Unpacked Size

    9.11 MB

    Total Files

    15

    Last publish

    Collaborators

    • notmedia
    • stainful
    • zmeevsky
    • dos