Winrm

From wikinotes

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:\"