<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://powershell.com/cs/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>Search results for 'app:forums' matching tags 'WMI', 'SNMP', and 'log'</title><link>http://powershell.com/cs/search/SearchResults.aspx?q=app:forums&amp;tag=WMI,SNMP,log&amp;orTags=0&amp;o=DateDescending</link><description>Search results for 'app:forums' matching tags 'WMI', 'SNMP', and 'log'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>Querying a Service state from WMi</title><link>http://powershell.com/cs/forums/thread/12063.aspx</link><pubDate>Tue, 30 Aug 2011 05:00:00 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:12063</guid><dc:creator>Remco Veenendaal</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I want to use powershell to query all of our servers from a input file&amp;nbsp;to check the state of the SNMP service.&lt;/p&gt;
&lt;p&gt;There can be two states stopped or running, if the state is stopped I want to start the SNMP service.&lt;/p&gt;
&lt;p&gt;All the checks need to be logged to a log file.&lt;/p&gt;
&lt;p&gt;Can you help me with this and also explain. &lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Remco&lt;/p&gt;</description></item></channel></rss>