viernes, 25 de marzo de 2011

Start and Stopping services PowerShell

open PowerShell console with admin privileges (right click->run as administrator)

display services regexp *sql*:

PS$>Get-Service -displayname *sql*

Stop/Start microsoft sql server instance:

PS$>Stop-Service -name MSSQLSERVER

PS$>Start-Service -name MSSQLSERVER


Ref: Five basic PowerShell commands Windows admins should know

No hay comentarios:

Datos personales