<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Edwin M SarmientoStart Windows Services using PowerShell &#8211; Edwin M Sarmiento</title>
	<atom:link href="https://www.edwinmsarmiento.com/start-windows-services-using-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.edwinmsarmiento.com</link>
	<description>Intentional Excellence</description>
	<lastBuildDate>Mon, 13 Apr 2026 21:00:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">84283043</site>		<item>
		<title>Start Windows Services using PowerShell</title>
		<link>https://www.edwinmsarmiento.com/start-windows-services-using-powershell/</link>
		<comments>https://www.edwinmsarmiento.com/start-windows-services-using-powershell/#respond</comments>
		<pubDate>Wed, 18 Feb 2009 05:13:00 +0000</pubDate>
		<dc:creator>Edwin M Sarmiento</dc:creator>
				<category><![CDATA[Get-Service]]></category>
		<category><![CDATA[Start-Service]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<guid isPermaLink="false">http://bassplayerdoc.wordpress.com/2009/02/18/start-windows-services-using-powershell</guid>

				<description><![CDATA[I start and stop services on my workstation every now and then for testing purposes (well, primarily to stop services I do not use to minimize surface area and free up available resources which are not being used). What I used to do was to run a NET START command listing all the services that [&#8230;]]]></description>
					<content:encoded><![CDATA[<p><span style="font-family:arial;">I start and stop services on my workstation every now and then for testing purposes (well, primarily to stop services I do not use to minimize surface area and free up available resources which are not being used</span><span style="font-family:arial;">). What I used to do was to run a NET START command listing all the services that are started and piping it to a text file. Next, I&#8217;d insert a NET STOP on each line in the list to call the NET STOP command stopping that particular service. Unfortunately, there are cases where I wanted to start a specific service that start with a specific name. An example of this is starting the SQL Server instances running on my laptop. I have like 4 instances which are SQL Server versions ranging from 2000 to 20008. Now, I happen to memorize the instance names of those SQL Server instances, making it easy for me to just run a NET STOP servicename. Although it would be rather easy, imagine doing that on a server with like 9 instances (not to mention memorizing the instance names). I wouldn&#8217;t want to type the NET STOP command 9 times. Enter PowerShell</span></p>
<p><span style="font-family:Arial;">Here&#8217;s a PowerShell script to start all SQL Server instances on the local computer. You can modify the parameters if you want to suit your needs. I&#8217;ve used this to start all the services related to Symantec on my machine as well</span></p>
<pre class="brush: powershell; title: ; notranslate">

Get-Service | where {$_.Name -like &amp;quot;MSSQL$*&amp;quot;} | Start-Service

</pre>
<p><span style="font-family:arial;font-size:85%;">(NOTE: There&#8217;s a pipe character &#8220;&#8221; between Get-Service cmdlet and Where and before the Start-Service cmdlet. In case it does not display here)</span></p>
<div class="blogger-post-footer"></div>
]]></content:encoded>
			

		<wfw:commentRss>https://www.edwinmsarmiento.com/start-windows-services-using-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
				<post-id xmlns="com-wordpress:feed-additions:1">158</post-id>	</item>
	</channel>
</rss>