Thursday, January 21, 2016

Shutdown or Reboot Computer CMD and PowerShell

CMD

Shutdown force :

shutdown -s -f -t 0

Restart Force:

shutdown -r -f -t 0


PowerShell :

Stop-Computer -Force

Restart-Computer -Force

Remote Computer :

 Stop-Computer -ComputerName computer  -Credential username -Force

No comments: