Restart PC with PowerShell

Since the PowerShell is going to replace the good old command line, you’ll need a new command in order to restart your computer.

Instead of shutdown you now have to use the simple but effective line restart-computer. If you want to delay the restart, you have to write it like this: Start-Sleep 60 ; Restart-Computer.

0 - 0

Thank You For Your Vote!

Sorry You have Already Voted!

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert