<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Expert Solution for 2011 Scripting Games Advanced Event 4: Use PowerShell to Find Services Hiding in the SvcHost Process</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/04/21/expert-solution-for-2011-scripting-games-advanced-event-4-use-powershell-to-find-services-hiding-in-the-svchost-process.aspx</link><description>Summary : Microsoft research software developer, Chris O'Prey, solves Windows PowerShell 2011 Scripting Games Advanced Event 4 and finds services that are running in the SvcHost process. 
 Microsoft Scripting Guy, Ed Wilson, here. With us today with</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Expert Solution for 2011 Scripting Games Advanced Event 4: Use PowerShell to Find Services Hiding in the SvcHost Process</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/04/21/expert-solution-for-2011-scripting-games-advanced-event-4-use-powershell-to-find-services-hiding-in-the-svchost-process.aspx#3423382</link><pubDate>Thu, 21 Apr 2011 14:05:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3423382</guid><dc:creator>cseiter</dc:creator><description>&lt;p&gt;Trying to ask a question or two on all I submit, or write and fail to look at a calendar. &amp;nbsp;I was proud of this one I wrote but didn&amp;#39;t turn it in on time. &amp;nbsp;I had it look at all the svchosts running and pulled the ProcessIDs. &amp;nbsp;Then I went through all the services running and got the ones whose pathname contained svchost.exe and sorted/grouped by ProcessId on those. &amp;nbsp;This was the only way I could think of to get the services running under the svchost process. &amp;nbsp;I was getting hung up on the fact that on my machine that does not have admin rights running the query to get the commandline path for a service was null. &amp;nbsp;Permissions issue; fine. &amp;nbsp;My down and dirty way to check for permissions was to see if the commandline path value was being returned null. &amp;nbsp;If it was, not a local admin. &amp;nbsp;What&amp;#39;s the proper way to check for local admin rights on things like this?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3423382" width="1" height="1"&gt;</description></item><item><title>re: Expert Solution for 2011 Scripting Games Advanced Event 4: Use PowerShell to Find Services Hiding in the SvcHost Process</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/04/21/expert-solution-for-2011-scripting-games-advanced-event-4-use-powershell-to-find-services-hiding-in-the-svchost-process.aspx#3423361</link><pubDate>Thu, 21 Apr 2011 12:19:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3423361</guid><dc:creator>Klaus Schulte</dc:creator><description>&lt;p&gt;A very good, short and precise solution that can be well understood!&lt;/p&gt;
&lt;p&gt;Bur ... my famous last words: There is no error handling at all!&lt;/p&gt;
&lt;p&gt;kind regards, &lt;/p&gt;
&lt;p&gt;Klaus (Schulte)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3423361" width="1" height="1"&gt;</description></item></channel></rss>