Winrm

From wikinotes
Revision as of 03:37, 21 January 2016 by Will (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is windows answer to ssh. It sucks. A lot. But this is the world we live in.


Starting winrm Server

rem start server (or check if running)
winrm quickconfig

rem check port && see if running
winrm enumerate winrm/config/listener

Remote Administration

rem run a single command on remote server
winrs -r:http://wintermute:5985 -u:wintermute\will "dir c:\"