 




<?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>IT Answers &#187; WMI</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/wmi/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Sat, 25 May 2013 15:43:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>smart attributes from wmi or powershell</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/smart-attributes-from-wmi-or-powershell/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/smart-attributes-from-wmi-or-powershell/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 20:11:53 +0000</pubDate>
		<dc:creator>Smartly</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[hi want to get the HDD smart attributes without using any vbs file or readymade tool just looking towards wmi or powershell please help me out]]></description>
				<content:encoded><![CDATA[<p>hi want to get the HDD smart attributes without using any vbs file or readymade tool</p>
<p>just looking towards wmi or powershell</p>
<p>please help me out</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/smart-attributes-from-wmi-or-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VB Script to Create a Scheduled Task on a Remote Machine Using Alternate Credentials</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/vb-script-to-create-a-scheduled-task-on-a-remote-machine-using-alternate-credentials/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/vb-script-to-create-a-scheduled-task-on-a-remote-machine-using-alternate-credentials/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 23:36:04 +0000</pubDate>
		<dc:creator>carlosdl</dc:creator>
				<category><![CDATA[IT Scripts]]></category>
		<category><![CDATA[MS Windows]]></category>
		<category><![CDATA[Scheduled Tasks]]></category>
		<category><![CDATA[VB script]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[New Answer by]]></description>
				<content:encoded><![CDATA[New Answer by ]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/vb-script-to-create-a-scheduled-task-on-a-remote-machine-using-alternate-credentials/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>WMI Critical error</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/wmi-critical-error/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/wmi-critical-error/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 12:41:11 +0000</pubDate>
		<dc:creator>Lilracoon</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows 7 Administration]]></category>
		<category><![CDATA[Windows Management Instrumentation]]></category>
		<category><![CDATA[Windows Management Interface]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi Guys, i get a critical error on my WMI is there a way to reinstall or repair it on windows 7]]></description>
				<content:encoded><![CDATA[<p>Hi Guys,<br />
i get a critical error on my WMI is there a way to reinstall or repair it on windows 7</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/wmi-critical-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Software that detects serial numbers of system components</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/software-that-detects-serial-numbers-of-system-components/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/software-that-detects-serial-numbers-of-system-components/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 03:29:27 +0000</pubDate>
		<dc:creator>Sravanraji</dc:creator>
				<category><![CDATA[Auto Serial Number]]></category>
		<category><![CDATA[Bar code label software]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Is there any software that detects serial numbers of all hardware components connected to a system]]></description>
				<content:encoded><![CDATA[<p>Is there any software that detects serial numbers of all hardware components connected to a system<br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/software-that-detects-serial-numbers-of-system-components/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Need help editing a code (WMI)</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/need-help-editing-a-code-wmi/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/need-help-editing-a-code-wmi/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 02:30:49 +0000</pubDate>
		<dc:creator>GreatGordon2010</dc:creator>
				<category><![CDATA[Console application]]></category>
		<category><![CDATA[Programming Languages]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>
		<category><![CDATA[Windows Management Instrumentation]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[This here is my current WMI code I&#8217;m using in a ConsoleApplication1.exe: This code helps detect all the changes inside the registry tree to monitor the installation of all programs. This is for a school project and I&#8217;m COMPLETELY NEW to Windows Management Instrumentation. What I need to do now is the following: 1) Edit [...]]]></description>
				<content:encoded><![CDATA[<p>This here is my current WMI code I&#8217;m using in a ConsoleApplication1.exe:</p>
<div></div>
<div>
<pre class="brush: plain; title: ; notranslate">Dim wmiServices = GetObject(&quot;winmgmts:root/default&quot;)&lt;/div&gt;
&lt;div&gt;        Dim colTreeChanges = wmiServices.ExecNotificationQuery _&lt;/div&gt;
&lt;div&gt;            (&quot;SELECT * FROM RegistryTreeChangeEvent &quot; _&lt;/div&gt;
&lt;div&gt;            &amp; &quot;WHERE Hive='HKEY_LOCAL_MACHINE' &quot; _&lt;/div&gt;
&lt;div&gt;            &amp; &quot;AND RootPath='SOFTWARE\\Microsoft'&quot;)&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;        While (True)&lt;/div&gt;
&lt;div&gt;            Dim TreeChange = colTreeChanges.NextEvent&lt;/div&gt;
&lt;div&gt;            TreeChange.GetObjectText_()&lt;/div&gt;
&lt;div&gt;            Console.Write(&quot;Hive = &quot; &amp; TreeChange.Hive &amp; vbNewLine _&lt;/div&gt;
&lt;div&gt;               &amp; &quot;RootPath = &quot; &amp; TreeChange.RootPath _&lt;/div&gt;
&lt;div&gt;               &amp; TreeChange.GetObjectText_())&lt;/div&gt;
&lt;div&gt;        End While&lt;/div&gt;
&lt;div&gt;</pre>
</div>
<div></div>
<div>This code helps detect all the changes inside the registry tree to monitor the installation of all programs. This is for a school project and I&#8217;m COMPLETELY NEW to Windows Management Instrumentation.</div>
<div></div>
<div>What I need to do now is the following:</div>
<div></div>
<div>1) Edit the code such that it only detects one instance of the output.</div>
<div>2) Also change the output such that it also shows the name of the program installed.</div>
<div></div>
<div>I already know how to redirect the output into the event viewer, but if anyone knows how to do the above, PLEASE help me. I only have about 4 weeks left till the end of this final year project.</div>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/need-help-editing-a-code-wmi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>set environment variable values from a remote system with wmi or by any means</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/set-environment-variable-values-from-a-remote-system-with-wmi-or-by-any-means/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/set-environment-variable-values-from-a-remote-system-with-wmi-or-by-any-means/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 19:46:05 +0000</pubDate>
		<dc:creator>Sivalanka</dc:creator>
				<category><![CDATA[Remote administration]]></category>
		<category><![CDATA[VBScipt]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, Jerry Lees article on &#8220;Retrieving environment variables from a remot system with WMI&#8221; was very useful. Do we have similar kind of technique to SET environment variables in a remote system? Thanks, Sudhakar]]></description>
				<content:encoded><![CDATA[<p>Hi,</p>
<p>Jerry Lees article on &#8220;Retrieving environment variables from a remot system with WMI&#8221; was very useful.<br />
Do we have similar kind of technique to SET environment variables in a remote system?</p>
<p>Thanks,<br />
Sudhakar</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/set-environment-variable-values-from-a-remote-system-with-wmi-or-by-any-means/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CreateObject(&#8220;Scripting.FilesystemObject&#8221;) in VBScript</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/createobjectscriptingfilesystemobject/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/createobjectscriptingfilesystemobject/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 21:37:43 +0000</pubDate>
		<dc:creator>JesseAGreen</dc:creator>
				<category><![CDATA[HTA]]></category>
		<category><![CDATA[VBS]]></category>
		<category><![CDATA[VBScript]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I currenly have a HTA that has alot of code. Part of the code displays a pop up message with the usersname to confirm we are working with the correct client. I Couldnt use WMI since all of our laptops block WMI quiries so I had to get inventive. All computers here have a default share. [...]]]></description>
				<content:encoded><![CDATA[<p>I currenly have a HTA that has alot of code. Part of the code displays a pop up message with the usersname to confirm we are working with the correct client. I Couldnt use WMI since all of our laptops block WMI quiries so I had to get inventive. All computers here have a default share. The script below <br/><br/> 1. Pings the COMPUTERDNSNAME, If there is a reply 2. it reads the contents of the following \\&#8221; &#038; strComputer &#038; &#8220;sic_c$Documents and Settings 3. If folder has been modifed in last 14 days it list the items in a popup box This acts as a conformation that the computername wasnt fatfigured, WMI would be alot better but not a option as they are not going to reconfigure the image firewall rules just for WMI to be active. I want to change the Last day to (100) since some of these PC dont have that folder writen to everyday.<br/><br/> So now my question. Is there anyway I can Exclude folder names from being listed? There are some accounts that show up in the list that I like to not show up. Such as NetworkService, XPRollout, All Users, Administrator ETC<br/><br/> SO is there a way i can EXCLUDE listing folders that = NetworkService, XPRollout, All Users, Administrator ETC<br/><br/>  <br/><br/> Here is a snippit of my code<br/><br/> Dim strComputer Dim WShell Dim fso, f, f1, fc, s, oLast Dim Msg<br/><br/> Sub Get_Login_Details    strComputer = txt_computer.value    if strComputer = &#8220;&#8221; Then    msgbox &#8220;Please enter a computer name or IP Address&#8221;,vbOKOnly,&#8221;No Computer Name or IP Address&#8221;    Exit Sub    End If    If Ping(strComputer) = False Then    msgbox strComputer &#038; &#8221; did not respond to ping. No action could be taken.&#8221;,vbOkOnly, &#8220;Cannot continue script.&#8221;    Exit Sub    End If      Set WShell = CreateObject(&#8220;WScript.Shell&#8221;)<br/><br/> oLast = DateAdd(&#8220;d&#8221;, -14, Now)<br/><br/> msgbox &#8220;Users who have logged on &#8221; &#038; strComputer &#038; &#8221; since &#8221; &#038; oLast &#038; &#8220;:&#8221; &#038; vbCrLf &#038; ShowFolderList(&#8220;\\&#8221; &#038; strComputer &#038; &#8220;sic_c$Documents and Settings&#8221;) &#038; vbcrlf &#038; vbcrlf &#038; vbcrlf &#038; _            &#8220;Note: If no users are listed just insure you typed in the correct SIC#&#8221; &#038; vbcrlf &#038; vbcrlf <br/><br/>  End Sub<br/><br/> function ShowFolderList(folderspec)    Set fso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)    Set f = fso.GetFolder(folderspec)    Set fc = f.SubFolders    For Each f1 In fc If DateValue(f1.DateLastModified) &gt;= oLast Then       s = s &#038; f1.name       s = s &#038; VbCrLf End If    Next    ShowFolderList = s    set WShell = Nothing End Function <br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/createobjectscriptingfilesystemobject/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WMI error (context creation error) for advanced properties of network connection</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/wmi-error-context-creation-error-for-advanced-properties-of-network-connection/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/wmi-error-context-creation-error-for-advanced-properties-of-network-connection/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 20:43:46 +0000</pubDate>
		<dc:creator>Chaos13</dc:creator>
				<category><![CDATA[Windows errors]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Windows XP SP2]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[When i try to open advanced properties of my network connection Windows complains about corrupted WMI, in the C:windowssystem32wbemlogswbemcore.log i noticed latest log entries: (Sun Sep 27 23:18:58 2009.41777203) : CRITICAL ERROR: cannot create contexts: 80040154 (Sun Sep 27 23:18:58 2009.41777218) : Failure to initialize WinMgmt (hRes = 0x8004100A) (Sun Sep 27 23:19:53 2009.41831843) : [...]]]></description>
				<content:encoded><![CDATA[<p>When i try to open advanced properties of my network connection Windows complains about corrupted WMI, in the C:windowssystem32wbemlogswbemcore.log i noticed latest log entries:<br />
(Sun Sep 27 23:18:58 2009.41777203) : CRITICAL ERROR: cannot create contexts: 80040154<br />
(Sun Sep 27 23:18:58 2009.41777218) : Failure to initialize WinMgmt (hRes = 0x8004100A)<br />
(Sun Sep 27 23:19:53 2009.41831843) : CRITICAL ERROR: cannot create contexts: 80040154<br />
(Sun Sep 27 23:19:53 2009.41831843) : Failure to initialize WinMgmt (hRes = 0x8004100A)<br />
(Sun Sep 27 23:25:44 2009.80390) : CRITICAL ERROR: cannot create contexts: 80040154<br />
(Sun Sep 27 23:25:44 2009.80531) : Failure to initialize WinMgmt (hRes = 0x8004100A)<br />
Requesting help</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/wmi-error-context-creation-error-for-advanced-properties-of-network-connection/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>IT Automation</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/it-automation/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/it-automation/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 13:15:22 +0000</pubDate>
		<dc:creator>Jkumbhani</dc:creator>
				<category><![CDATA[IT Automation]]></category>
		<category><![CDATA[Java Management Extensions]]></category>
		<category><![CDATA[JMX]]></category>
		<category><![CDATA[RBA]]></category>
		<category><![CDATA[Run Book Automation]]></category>
		<category><![CDATA[Windows Management Instrumentation]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[How do you think is JMX and WMI is useful in IT Automation (RBA) ?]]></description>
				<content:encoded><![CDATA[<p>How do you think is JMX and WMI is useful in IT Automation (RBA) ?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/it-automation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I get list of sessions from TS Session Broker?</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-do-i-get-list-of-sessions-from-session-broker/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-do-i-get-list-of-sessions-from-session-broker/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 09:07:10 +0000</pubDate>
		<dc:creator>Benya</dc:creator>
				<category><![CDATA[Terminal Services Session Broker]]></category>
		<category><![CDATA[TS Session Broker]]></category>
		<category><![CDATA[Windows Management Instrumentation]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hello experts, I have a problem of getting a list of sessions from TS Session Broker (Windows Server 2008). The question is how can we get a list of sessions on local computers without asking each computer but asking about theirs sessions from only Session Broker? Is it possible to make by WMI? Any help [...]]]></description>
				<content:encoded><![CDATA[<p>Hello experts,</p>
<p>I have a problem of getting a list of sessions from TS Session Broker<br />
(Windows Server 2008).</p>
<p>The question is how can we get a list of sessions on local computers without asking each computer but asking about theirs sessions from only Session Broker?</p>
<p>Is it possible to make by WMI?</p>
<p>Any help would be appreciated.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/how-do-i-get-list-of-sessions-from-session-broker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/26 queries in 0.031 seconds using memcached
Object Caching 926/1027 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-25 22:14:23 -->