Shutdown or Restart windows server via linux

Use this command to shutdown the computer remotely:
net rpc shutdown --ipaddress ip --user username%password

Add -r if you want to restart, not shutdown:
net rpc shutdown -r -f --ipaddress ip --user username%password

Command ip examples

  # Forcefully close a connection to a specific destination sudo ss -K dst 192.168.1.100 # view routes ip r ip route # To reject a route (bl...

Mais vistos