Node.js module for WinRM

Package no longer supported. Contact for more info.
Last updated 5 years ago by jacobludriks .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install winrmjs 
SYNC missed versions from official npm registry.


Basically just the same as WinRB/winRM and pywinrm, but in Javascript. It allows you to invoke commands on Windows hosts from any machine with nodejs.

Unfortunately it only works with Basic authentication over HTTP at the moment, but this will eventually change so it works with Kerberos and (optionally) HTTPS.

###Enable WinRM on remote hosts

Again, this is very insecure. This will change. Run these on the remote host.

winrm set winrm/config/client/auth @{Basic="true"}
winrm set winrm/config/service/auth @{Basic="true"}
winrm set winrm/config/service @{AllowUnencrypted="true"}


var winrm = require('winrm');,host,port,path,username,password, function(err,res) {
	//do stuff with response here

Current Tags

  • 0.0.1                                ...           latest (5 years ago)

1 Versions

  • 0.0.1 [deprecated]           ...           5 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (4)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2016 © |