This recipe describes how to start and/or stop SQL Server services.
Check which SQL services are installed in your machine. Go to Start | Run and type
Services.msc. You should see a screen similar to this:
Let's look at the steps to toggle states for your SQL Server services:
$Verbosepreference = "Continue" $services = @("SQLBrowser", "ReportServer") $hostName = "KERRIGAN" $services | ForEach-Object ...