Server set up:
winrm quickconfig
Note: This procedure disables UAC remote privilege filtering, which enables remote administrative log in.
Client:
winrm set winrm/config/client @{TrustedHosts="<servername>"}
runas /netonly /user:<username> cmd winrs -r:<servername> <command> <parameters>