SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Power Shell or Windows – Rebooting of servers local or remote computers

Rebooting of servers local or remote Using PowerShell and Windows

Powershell command

Start->Run->Powershell press enter


Windows Command

Start->Run->cmd press enter

c:\>shutdown /m \\server01 /r /f /t 02

/m \\Server A remote computer to shutdown – server01
/r Shutdown and Restart
/f Force running applications to close. This will not prompt for File-Save in any open applications. so will result in a loss of all unsaved data!!!
/t:xxx Time until system shutdown in seconds. The valid range is xxx=0-600 seconds. [default=30]

PowerSQL By Prashanth Jayaram

Technology enthusiast with 7+ years of experience in Database Technology. I am Microsoft Certified Professional with certificates of OCA, MCP, MCTS, MCITP developer, MCITP administration and backed with a degree in Master of Computer Application. My expertise lies in T-SQL programming, Replication, PowerShell and Performance Tuning. Hobbies are Drawing, playing soccer and listening to Melodies songs.


Leave a comment on the original post [sqlpowershell.wordpress.com, opens in a new window]

Loading comments...