psexec.exe \192.168.0.xx -u dxxxxi -p Rxxxxx7 shutdown -r
psexec.exe \192.168.0.xx -u dxxxxi -p Rxxxxx7 shutdown.exe /s /t 00
psexec.exe \192.168.0.xx -u dxxxxi -p Rxxxxx7 net stop spooler
PsExec v2.2 – Execute processes remotely
Copyright (C) 2001-2016 Mark Russinovich
Sysinternals – www.sysinternals.com
shutdown exited on 192.168.0.81 with error code 0.
—————————-
netsh advfirewall firewall add rule name=”Allow PSEXEC TCP-445″ dir=in action=allow protocol=TCP localport=445
netsh advfirewall firewall add rule name=”Allow PSEXEC UDP-137″ dir=in action=allow protocol=UDP localport=137