Start-Stop SQL Server Services Using PowerShell

Check status of  Running SQL Server Process using PowerShell

 

 

Stop SQL Server Process

Get-Service *SQL*
Get-Process SQL*
Stop-process 5096(Process id) -force

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Start SQL Server Service

 

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *