 




<?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>Network Administrator Knowledgebase &#187; WMI</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/network-administrator/tag/wmi/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/network-administrator</link>
	<description></description>
	<lastBuildDate>Thu, 28 Feb 2013 15:55:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Script to get information about “Installed HotFixes” from remote computer / server</title>
		<link>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cinstalled-hotfixes%e2%80%9d-from-remote-computer-server/</link>
		<comments>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cinstalled-hotfixes%e2%80%9d-from-remote-computer-server/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 19:05:22 +0000</pubDate>
		<dc:creator>Michael Khanin</dc:creator>
				<category><![CDATA[remote information]]></category>
		<category><![CDATA[WMI]]></category>
		<category><![CDATA[WMIC]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cinstalled-hotfixes%e2%80%9d-from-remote-computer-server/</guid>
		<description><![CDATA[This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context: @Echo off Rem . Rem . http://thesystemadministrator.com -  http://www.admininfo.ca Rem . @Echo Please wait…. SET STOREPATH=C:\TMP SET RCOMP= “Put here IP or Name of remote computer [...]]]></description>
				<content:encoded><![CDATA[<p>This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context:<br />
<em><br />
@Echo off<br />
</em></p>
<p><em>Rem .</em><em><br />
Rem . <a title="http://thesystemadministrator.com" href="http://thesystemadministrator.com/" target="_blank">http://thesystemadministrator.com</a> -  <a title="http://www.admininfo.ca" href="http://www.admininfo.ca/" target="_blank">http://www.admininfo.ca</a><br />
Rem . </em></p>
<p><em>@Echo Please wait….</em></p>
<p><em>SET STOREPATH=C:\TMP<br />
SET RCOMP= “Put here IP or Name of remote computer / server”<br />
</em><em><br />
set DM=ADMININFO<br />
set USR=ADM<br />
set PASS=PASSWORD<br />
</em></p>
<p><em>NET USE \\%RCOMP%\ipc$ /user:%DM%\%USR% %PASS%  &gt; NUL 2&gt;&amp;1</em></p>
<p><em>REM ………. Checking OS Version ……….<br />
For /F “Tokens=1,2,3* Delims= ” %%a in (’@REG QUERY “\\%RCOMP%\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion” /v ProductName^| find /i “ProductName”‘) Do SET OSVER=%%d<br />
IF “%OSVER%” == “Windows 2000″ @Echo %OSVER% &amp;goto :EOF</em></p>
<p><em>@echo ^&lt;?xml version=”1.0″ encoding=”ISO-8859-1″?^&gt; &gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Report^&gt;^&lt;Lang^&gt;en^&lt;/Lang^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Title^&gt;Report of %RCOMP%^&lt;/Title^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><em>REM &#8230;&#8230;&#8230;. Installed HotFixes &#8230;&#8230;&#8230;.<br />
@echo ^&lt;Group^&gt;^&lt;Title^&gt;Installed HotFixes^&lt;/Title^&gt;  &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
For /F &#8220;Tokens=1,2 Delims==&#8221; %%a in (&#8216;&#8221;@WMIC /node:%RCOMP% /user:&#8221;%DM%\%USR%&#8221; /password:%PASS% QFE get HotFixID /value | find /i &#8220;HotFixID&#8221;"&#8216;) Do @echo ^&lt;Item^&gt;^&lt;Title^&gt;%%a^&lt;/Title^&gt;^&lt;Value^&gt;%%b^&lt;/Value^&gt;^&lt;/Item^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;/Group^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
REM &#8230;&#8230;&#8230;. Installed HotFixes &#8230;&#8230;&#8230;.<br />
</em></p>
<p><em>@echo ^&lt;/Report^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><strong>Note</strong>: <em>Remember to set IP or Name of remote computer / server</em></p>
<p>That it!</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cinstalled-hotfixes%e2%80%9d-from-remote-computer-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to get information about “Installed Applications” from remote computer / server</title>
		<link>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cinstalled-applications%e2%80%9d-from-remote-computer-server/</link>
		<comments>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cinstalled-applications%e2%80%9d-from-remote-computer-server/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 19:03:58 +0000</pubDate>
		<dc:creator>Michael Khanin</dc:creator>
				<category><![CDATA[remote information]]></category>
		<category><![CDATA[WMI]]></category>
		<category><![CDATA[WMIC]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cinstalled-applications%e2%80%9d-from-remote-computer-server/</guid>
		<description><![CDATA[This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context: @Echo off Rem . Rem . http://thesystemadministrator.com -  http://www.admininfo.ca Rem . @Echo Please wait…. SET STOREPATH=C:\TMP SET RCOMP= “Put here IP or Name of remote computer [...]]]></description>
				<content:encoded><![CDATA[<p>This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context:<br />
<em><br />
@Echo off<br />
</em></p>
<p><em>Rem .</em><em><br />
Rem . <a title="http://thesystemadministrator.com" href="http://thesystemadministrator.com/" target="_blank">http://thesystemadministrator.com</a> -  <a title="http://www.admininfo.ca" href="http://www.admininfo.ca/" target="_blank">http://www.admininfo.ca</a><br />
Rem . </em></p>
<p><em>@Echo Please wait….</em></p>
<p><em>SET STOREPATH=C:\TMP<br />
SET RCOMP= “Put here IP or Name of remote computer / server”<br />
</em><em><br />
set DM=ADMININFO<br />
set USR=ADM<br />
set PASS=PASSWORD<br />
</em></p>
<p><em>NET USE \\%RCOMP%\ipc$ /user:%DM%\%USR% %PASS%  &gt; NUL 2&gt;&amp;1</em></p>
<p><em>REM ………. Checking OS Version ……….<br />
For /F “Tokens=1,2,3* Delims= ” %%a in (’@REG QUERY “\\%RCOMP%\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion” /v ProductName^| find /i “ProductName”‘) Do SET OSVER=%%d<br />
IF “%OSVER%” == “Windows 2000″ @Echo %OSVER% &amp;goto :EOF</em></p>
<p><em>@echo ^&lt;?xml version=”1.0″ encoding=”ISO-8859-1″?^&gt; &gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Report^&gt;^&lt;Lang^&gt;en^&lt;/Lang^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Title^&gt;Report of %RCOMP%^&lt;/Title^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><em>REM &#8230;&#8230;&#8230;. Installed Applications &#8230;&#8230;&#8230;.<br />
@echo ^&lt;Group^&gt;^&lt;Title^&gt;Installed Applications^&lt;/Title^&gt;  &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
For /F &#8220;Tokens=1,2 Delims==&#8221; %%a in (&#8216;&#8221;@WMIC /node:%RCOMP% /user:&#8221;%DM%\%USR%&#8221; /password:%PASS% PRODUCT get Description /value | find /i &#8220;Description&#8221;"&#8216;) Do @echo ^&lt;Item^&gt;^&lt;Title^&gt;%%a^&lt;/Title^&gt;^&lt;Value^&gt;%%b^&lt;/Value^&gt;^&lt;/Item^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;/Group^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
REM &#8230;&#8230;&#8230;. Installed Applications &#8230;&#8230;&#8230;.<br />
</em></p>
<p><em>@echo ^&lt;/Report^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><strong>Note</strong>: <em>Remember to set IP or Name of remote computer / server</em></p>
<p>That it!</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cinstalled-applications%e2%80%9d-from-remote-computer-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to get information about “Services” from remote computer / server</title>
		<link>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cservices%e2%80%9d-from-remote-computer-server/</link>
		<comments>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cservices%e2%80%9d-from-remote-computer-server/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 19:02:16 +0000</pubDate>
		<dc:creator>Michael Khanin</dc:creator>
				<category><![CDATA[remote information]]></category>
		<category><![CDATA[WMI]]></category>
		<category><![CDATA[WMIC]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cservices%e2%80%9d-from-remote-computer-server/</guid>
		<description><![CDATA[This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context: @Echo off Rem . Rem . http://thesystemadministrator.com -  http://www.admininfo.ca Rem . @Echo Please wait…. SET STOREPATH=C:\TMP SET RCOMP= “Put here IP or Name of remote computer [...]]]></description>
				<content:encoded><![CDATA[<p>This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context:<br />
<em><br />
@Echo off<br />
</em></p>
<p><em>Rem .</em><em><br />
Rem . <a title="http://thesystemadministrator.com" href="http://thesystemadministrator.com/" target="_blank">http://thesystemadministrator.com</a> -  <a title="http://www.admininfo.ca" href="http://www.admininfo.ca/" target="_blank">http://www.admininfo.ca</a><br />
Rem . </em></p>
<p><em>@Echo Please wait….</em></p>
<p><em>SET STOREPATH=C:\TMP<br />
SET RCOMP= “Put here IP or Name of remote computer / server”<br />
</em><em><br />
set DM=ADMININFO<br />
set USR=ADM<br />
set PASS=PASSWORD<br />
</em></p>
<p><em>NET USE \\%RCOMP%\ipc$ /user:%DM%\%USR% %PASS%  &gt; NUL 2&gt;&amp;1</em></p>
<p><em>REM ………. Checking OS Version ……….<br />
For /F “Tokens=1,2,3* Delims= ” %%a in (’@REG QUERY “\\%RCOMP%\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion” /v ProductName^| find /i “ProductName”‘) Do SET OSVER=%%d<br />
IF “%OSVER%” == “Windows 2000″ @Echo %OSVER% &amp;goto :EOF</em></p>
<p><em>@echo ^&lt;?xml version=”1.0″ encoding=”ISO-8859-1″?^&gt; &gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Report^&gt;^&lt;Lang^&gt;en^&lt;/Lang^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Title^&gt;Report of %RCOMP%^&lt;/Title^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><em>REM &#8230;&#8230;&#8230;. Services &#8230;&#8230;&#8230;.<br />
@echo ^&lt;Group^&gt;^&lt;Title^&gt;Services^&lt;/Title^&gt;  &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
For /F &#8220;Tokens=1-4 Delims=,&#8221; %%a in (&#8216;&#8221;@WMIC /node:%RCOMP% /user:&#8221;%DM%\%USR%&#8221; /password:%PASS% SERVICE GET Name, StartMode, State, StartName /value /format:csv.xsl | find /i &#8220;%RCOMP%&#8221;"&#8216;) Do @echo ^&lt;Item^&gt;^&lt;ServiceName^&gt;%%b^&lt;/ServiceName^&gt;^&lt;StartMode^&gt;%%c^&lt;/StartMode^&gt;^&lt;LogOnAs^&gt;%%d^&lt;/LogOnAs^&gt;^&lt;/Item^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;/Group^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
REM &#8230;&#8230;&#8230;. Services &#8230;&#8230;&#8230;.<br />
</em></p>
<p><em>@echo ^&lt;/Report^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><strong>Note</strong>: <em>Remember to set IP or Name of remote computer / server</em></p>
<p>That it!</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cservices%e2%80%9d-from-remote-computer-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to get information about “USERS” from remote computer / server</title>
		<link>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cusers%e2%80%9d-from-remote-computer-server/</link>
		<comments>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cusers%e2%80%9d-from-remote-computer-server/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 18:58:44 +0000</pubDate>
		<dc:creator>Michael Khanin</dc:creator>
				<category><![CDATA[remote information]]></category>
		<category><![CDATA[WMI]]></category>
		<category><![CDATA[WMIC]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cusers%e2%80%9d-from-remote-computer-server/</guid>
		<description><![CDATA[This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context: @Echo off Rem . Rem . http://thesystemadministrator.com -  http://www.admininfo.ca Rem . @Echo Please wait…. SET STOREPATH=C:\TMP SET RCOMP= “Put here IP or Name of remote computer [...]]]></description>
				<content:encoded><![CDATA[<p>This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context:<br />
<em><br />
@Echo off<br />
</em></p>
<p><em>Rem .</em><em><br />
Rem . <a title="http://thesystemadministrator.com" href="http://thesystemadministrator.com/" target="_blank">http://thesystemadministrator.com</a> -  <a title="http://www.admininfo.ca" href="http://www.admininfo.ca/" target="_blank">http://www.admininfo.ca</a><br />
Rem . </em></p>
<p><em>@Echo Please wait….</em></p>
<p><em>SET STOREPATH=C:\TMP<br />
SET RCOMP= “Put here IP or Name of remote computer / server”<br />
</em><em><br />
set DM=ADMININFO<br />
set USR=ADM<br />
set PASS=PASSWORD<br />
</em></p>
<p><em>NET USE \\%RCOMP%\ipc$ /user:%DM%\%USR% %PASS%  &gt; NUL 2&gt;&amp;1</em></p>
<p><em>REM ………. Checking OS Version ……….<br />
For /F “Tokens=1,2,3* Delims= ” %%a in (’@REG QUERY “\\%RCOMP%\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion” /v ProductName^| find /i “ProductName”‘) Do SET OSVER=%%d<br />
IF “%OSVER%” == “Windows 2000″ @Echo %OSVER% &amp;goto :EOF</em></p>
<p><em>@echo ^&lt;?xml version=”1.0″ encoding=”ISO-8859-1″?^&gt; &gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Report^&gt;^&lt;Lang^&gt;en^&lt;/Lang^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Title^&gt;Report of %RCOMP%^&lt;/Title^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><em>REM &#8230;&#8230;&#8230;. Users &#8230;&#8230;&#8230;.<br />
@echo ^&lt;Group^&gt;^&lt;Title^&gt;Users^&lt;/Title^&gt;  &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
For /F &#8220;Tokens=1,2 Delims==&#8221; %%a in (&#8216;&#8221;@WMIC /node:%RCOMP% /user:&#8221;%DM%\%USR%&#8221; /password:%PASS% USERACCOUNT get NAME /value | find /i &#8220;NAME&#8221;"&#8216;) Do @echo ^&lt;Item^&gt;^&lt;Title^&gt;%%a^&lt;/Title^&gt;^&lt;Value^&gt;%%b^&lt;/Value^&gt;^&lt;/Item^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;/Group^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
REM &#8230;&#8230;&#8230;. Users &#8230;&#8230;&#8230;.</em></p>
<p><em>@echo ^&lt;/Report^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><strong>Note</strong>: <em>Remember to set IP or Name of remote computer / server</em></p>
<p>That it!</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cusers%e2%80%9d-from-remote-computer-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to get information about “Groups” from remote computer / server</title>
		<link>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cgroups%e2%80%9d-from-remote-computer-server/</link>
		<comments>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cgroups%e2%80%9d-from-remote-computer-server/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 18:56:44 +0000</pubDate>
		<dc:creator>Michael Khanin</dc:creator>
				<category><![CDATA[remote information]]></category>
		<category><![CDATA[WMI]]></category>
		<category><![CDATA[WMIC]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/network-administrator/?p=230</guid>
		<description><![CDATA[This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context: @Echo off Rem . Rem . http://thesystemadministrator.com -  http://www.admininfo.ca Rem . @Echo Please wait…. SET STOREPATH=C:\TMP SET RCOMP= “Put here IP or Name of remote computer [...]]]></description>
				<content:encoded><![CDATA[<p>This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context:<br />
<em><br />
@Echo off<br />
</em></p>
<p><em>Rem .</em><em><br />
Rem . <a title="http://thesystemadministrator.com" href="http://thesystemadministrator.com/" target="_blank">http://thesystemadministrator.com</a> -  <a title="http://www.admininfo.ca" href="http://www.admininfo.ca/" target="_blank">http://www.admininfo.ca</a><br />
Rem . </em></p>
<p><em>@Echo Please wait….</em></p>
<p><em>SET STOREPATH=C:\TMP<br />
SET RCOMP= “Put here IP or Name of remote computer / server”<br />
</em><em><br />
set DM=ADMININFO<br />
set USR=ADM<br />
set PASS=PASSWORD<br />
</em></p>
<p><em>NET USE \\%RCOMP%\ipc$ /user:%DM%\%USR% %PASS%  &gt; NUL 2&gt;&amp;1</em></p>
<p><em>REM ………. Checking OS Version ……….<br />
For /F “Tokens=1,2,3* Delims= ” %%a in (’@REG QUERY “\\%RCOMP%\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion” /v ProductName^| find /i “ProductName”‘) Do SET OSVER=%%d<br />
IF “%OSVER%” == “Windows 2000″ @Echo %OSVER% &amp;goto :EOF</em></p>
<p><em>@echo ^&lt;?xml version=”1.0″ encoding=”ISO-8859-1″?^&gt; &gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Report^&gt;^&lt;Lang^&gt;en^&lt;/Lang^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Title^&gt;Report of %RCOMP%^&lt;/Title^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><em>REM &#8230;&#8230;&#8230;. Groups &#8230;&#8230;&#8230;.<br />
@echo ^&lt;Group^&gt;^&lt;Title^&gt;Groups^&lt;/Title^&gt;  &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
For /F &#8220;Tokens=1,2 Delims==&#8221; %%a in (&#8216;&#8221;@WMIC /node:%RCOMP% /user:&#8221;%DM%\%USR%&#8221; /password:%PASS% GROUP get NAME /value | find /i &#8220;NAME&#8221;"&#8216;) Do @echo ^&lt;Item^&gt;^&lt;Title^&gt;%%a^&lt;/Title^&gt;^&lt;Value^&gt;%%b^&lt;/Value^&gt;^&lt;/Item^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;/Group^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
REM &#8230;&#8230;&#8230;. Groups &#8230;&#8230;&#8230;.</em></p>
<p><em>@echo ^&lt;/Report^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><strong>Note</strong>: <em>Remember to set IP or Name of remote computer / server</em></p>
<p>That it!</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cgroups%e2%80%9d-from-remote-computer-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to get information about “SCSI / RAID CONTROLLERS” from remote computer / server</title>
		<link>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cscsi-raid-controllers%e2%80%9d-from-remote-computer-server/</link>
		<comments>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cscsi-raid-controllers%e2%80%9d-from-remote-computer-server/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 18:52:04 +0000</pubDate>
		<dc:creator>Michael Khanin</dc:creator>
				<category><![CDATA[remote information]]></category>
		<category><![CDATA[WMI]]></category>
		<category><![CDATA[WMIC]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cscsi-raid-controllers%e2%80%9d-from-remote-computer-server/</guid>
		<description><![CDATA[This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context: @Echo off Rem . Rem . http://thesystemadministrator.com -  http://www.admininfo.ca Rem . @Echo Please wait…. SET STOREPATH=C:\TMP SET RCOMP= “Put here IP or Name of remote computer [...]]]></description>
				<content:encoded><![CDATA[<p>This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context:<br />
<em><br />
@Echo off<br />
</em></p>
<p><em>Rem .</em><em><br />
Rem . <a title="http://thesystemadministrator.com" href="http://thesystemadministrator.com/" target="_blank">http://thesystemadministrator.com</a> -  <a title="http://www.admininfo.ca" href="http://www.admininfo.ca/" target="_blank">http://www.admininfo.ca</a><br />
Rem . </em></p>
<p><em>@Echo Please wait….</em></p>
<p><em>SET STOREPATH=C:\TMP<br />
SET RCOMP= “Put here IP or Name of remote computer / server”<br />
</em><em><br />
set DM=ADMININFO<br />
set USR=ADM<br />
set PASS=PASSWORD<br />
</em></p>
<p><em>NET USE \\%RCOMP%\ipc$ /user:%DM%\%USR% %PASS%  &gt; NUL 2&gt;&amp;1</em></p>
<p><em>REM ………. Checking OS Version ……….<br />
For /F “Tokens=1,2,3* Delims= ” %%a in (’@REG QUERY “\\%RCOMP%\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion” /v ProductName^| find /i “ProductName”‘) Do SET OSVER=%%d<br />
IF “%OSVER%” == “Windows 2000″ @Echo %OSVER% &amp;goto :EOF</em></p>
<p><em>@echo ^&lt;?xml version=”1.0″ encoding=”ISO-8859-1″?^&gt; &gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Report^&gt;^&lt;Lang^&gt;en^&lt;/Lang^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Title^&gt;Report of %RCOMP%^&lt;/Title^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><em>REM &#8230;&#8230;&#8230;. SCSI CONTROLLER &#8230;&#8230;&#8230;.<br />
@echo ^&lt;Group^&gt;^&lt;Title^&gt;SCSI CONTROLLER^&lt;/Title^&gt;  &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
For /F &#8220;Tokens=1,2 Delims==&#8221; %%a in (&#8216;&#8221;@WMIC /node:%RCOMP% /user:&#8221;%DM%\%USR%&#8221; /password:%PASS% SCSICONTROLLER get Description /value | find /i &#8220;Description&#8221;"&#8216;) Do @echo ^&lt;Item^&gt;^&lt;Title^&gt;%%a^&lt;/Title^&gt;^&lt;Value^&gt;%%b^&lt;/Value^&gt;^&lt;/Item^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;/Group^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
REM &#8230;&#8230;&#8230;. SCSI CONTROLLER &#8230;&#8230;&#8230;.</em></p>
<p><em>@echo ^&lt;/Report^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><strong>Note</strong>: <em>Remember to set IP or Name of remote computer / server</em></p>
<p>That it!</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9cscsi-raid-controllers%e2%80%9d-from-remote-computer-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to get information about “Logical Disks” from remote computer / server</title>
		<link>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9clogical-disks%e2%80%9d-from-remote-computer-server/</link>
		<comments>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9clogical-disks%e2%80%9d-from-remote-computer-server/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 18:44:17 +0000</pubDate>
		<dc:creator>Michael Khanin</dc:creator>
				<category><![CDATA[remote information]]></category>
		<category><![CDATA[WMI]]></category>
		<category><![CDATA[WMIC]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9clogical-disks%e2%80%9d-from-remote-computer-server/</guid>
		<description><![CDATA[This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context: @Echo off Rem . Rem . http://thesystemadministrator.com -  http://www.admininfo.ca Rem . @Echo Please wait…. SET STOREPATH=C:\TMP SET RCOMP= “Put here IP or Name of remote computer [...]]]></description>
				<content:encoded><![CDATA[<p>This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context:<br />
<em><br />
@Echo off<br />
</em></p>
<p><em>Rem .</em><em><br />
Rem . <a title="http://thesystemadministrator.com" href="http://thesystemadministrator.com/" target="_blank">http://thesystemadministrator.com</a> -  <a title="http://www.admininfo.ca" href="http://www.admininfo.ca/" target="_blank">http://www.admininfo.ca</a><br />
Rem . </em></p>
<p><em>@Echo Please wait….</em></p>
<p><em>SET STOREPATH=C:\TMP<br />
SET RCOMP= “Put here IP or Name of remote computer / server”<br />
</em><em><br />
set DM=ADMININFO<br />
set USR=ADM<br />
set PASS=PASSWORD<br />
</em></p>
<p><em>NET USE \\%RCOMP%\ipc$ /user:%DM%\%USR% %PASS%  &gt; NUL 2&gt;&amp;1</em></p>
<p><em>REM ………. Checking OS Version ……….<br />
For /F “Tokens=1,2,3* Delims= ” %%a in (’@REG QUERY “\\%RCOMP%\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion” /v ProductName^| find /i “ProductName”‘) Do SET OSVER=%%d<br />
IF “%OSVER%” == “Windows 2000″ @Echo %OSVER% &amp;goto :EOF</em></p>
<p><em>@echo ^&lt;?xml version=”1.0″ encoding=”ISO-8859-1″?^&gt; &gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Report^&gt;^&lt;Lang^&gt;en^&lt;/Lang^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Title^&gt;Report of %RCOMP%^&lt;/Title^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><em>REM &#8230;&#8230;&#8230;. Logical Disks &#8230;&#8230;&#8230;.<br />
@echo ^&lt;Group^&gt;^&lt;Title^&gt;Logical Disks^&lt;/Title^&gt;  &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
For /F &#8220;Tokens=1-6 Delims=,&#8221; %%a in (&#8216;&#8221;@WMIC /node:%RCOMP% /user:&#8221;%DM%\%USR%&#8221; /password:%PASS% LOGICALDISK GET DeviceID, Description, FileSystem, Size, FreeSpace /format:csv.xsl | find /i &#8220;%RCOMP%&#8221;"&#8216;) Do @echo ^&lt;Item^&gt;^&lt;DeviceID^&gt;%%c^&lt;/DeviceID^&gt;^&lt;Description^&gt;%%b^&lt;/Description^&gt;^&lt;FileSystem^&gt;%%d^&lt;/FileSystem^&gt;^&lt;Size^&gt;%%f^&lt;/Size^&gt;^&lt;FreeSpace^&gt;%%e^&lt;/FreeSpace^&gt;^&lt;/Item^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;/Group^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
REM &#8230;&#8230;&#8230;. Logical Disks &#8230;&#8230;&#8230;.</em></p>
<p><em>@echo ^&lt;/Report^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><strong>Note</strong>: <em>Remember to set IP or Name of remote computer / server</em></p>
<p>That it!</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/network-administrator/script-to-get-information-about-%e2%80%9clogical-disks%e2%80%9d-from-remote-computer-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Small script to get &#8220;Disks Configuration&#8221; from remote computer / server</title>
		<link>http://itknowledgeexchange.techtarget.com/network-administrator/small-script-to-get-disks-configuration-from-remote-computer-server/</link>
		<comments>http://itknowledgeexchange.techtarget.com/network-administrator/small-script-to-get-disks-configuration-from-remote-computer-server/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 18:07:43 +0000</pubDate>
		<dc:creator>Michael Khanin</dc:creator>
				<category><![CDATA[Disks Configuration]]></category>
		<category><![CDATA[remote information]]></category>
		<category><![CDATA[WMI]]></category>
		<category><![CDATA[WMIC]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/network-administrator/small-script-to-get-disks-configuration-from-remote-computer-server/</guid>
		<description><![CDATA[This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context: @Echo off Rem . Rem . http://thesystemadministrator.com -  http://www.admininfo.ca Rem . @Echo Please wait&#8230;. SET STOREPATH=C:\TMP SET RCOMP= &#8220;Put here IP or Name of [...]]]></description>
				<content:encoded><![CDATA[<p>This small scripts allows to get information from remote computer / server. All data will  be saved in XML format. Create a .bat file and put into in the following context:<br />
<em><br />
@Echo off<br />
</em></p>
<p><em>Rem .</em><em><br />
Rem . http://thesystemadministrator.com -  http://www.admininfo.ca<br />
Rem . </em></p>
<p><em>@Echo Please wait&#8230;.</em></p>
<p><em>SET STOREPATH=C:\TMP<br />
SET RCOMP= &#8220;Put here IP or Name of remote computer / server&#8221;</p>
<p>set DM=ADMININFO<br />
set USR=ADM<br />
set PASS=PASSWORD</em></p>
<p><em>NET USE \\%RCOMP%\ipc$ /user:%DM%\%USR% %PASS%  &gt; NUL 2&gt;&amp;1</em></p>
<p><em>REM &#8230;&#8230;&#8230;. Checking OS Version &#8230;&#8230;&#8230;.<br />
For /F &#8220;Tokens=1,2,3* Delims= &#8221; %%a in (&#8216;@REG QUERY &#8220;\\%RCOMP%\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion&#8221; /v ProductName^| find /i &#8220;ProductName&#8221;&#8216;) Do SET OSVER=%%d<br />
IF &#8220;%OSVER%&#8221; == &#8220;Windows 2000&#8243; @Echo %OSVER% &amp;goto :EOF</em></p>
<p><em>@echo ^&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;ISO-8859-1&#8243;?^&gt; &gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Report^&gt;^&lt;Lang^&gt;en^&lt;/Lang^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;Title^&gt;Report of %RCOMP%^&lt;/Title^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><em>REM &#8230;&#8230;&#8230;. Disks Configuration &#8230;&#8230;&#8230;.<br />
@echo ^&lt;Group^&gt;^&lt;Title^&gt;Disks Configuration^&lt;/Title^&gt;  &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
For /F &#8220;Tokens=1-5 Delims=,&#8221; %%a in (&#8216;&#8221;@WMIC /node:%RCOMP% /user:&#8221;%DM%\%USR%&#8221; /password:%PASS% DISKDRIVE get Model, InterfaceType, Partitions, MediaType /format:csv.xsl | find /i &#8220;1&#8243;&#8221;&#8216;) Do @echo ^&lt;Item^&gt;^&lt;Model^&gt;%%d^&lt;/Model^&gt;^&lt;InterfaceType^&gt;%%b^&lt;/InterfaceType^&gt;^&lt;MediaType^&gt;%%c^&lt;/MediaType^&gt;^&lt;Parts^&gt;%%e^&lt;/Parts^&gt;^&lt;/Item^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
@echo ^&lt;/Group^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml<br />
REM &#8230;&#8230;&#8230;. Disks Configuration &#8230;&#8230;&#8230;.</em></p>
<p><em>@echo ^&lt;/Report^&gt; &gt;&gt; %STOREPATH%\%RCOMP%_CompInfo.xml</em></p>
<p><strong>Note</strong>: <em>Remember to set IP or Name of remote computer / server</em></p>
<p>That it!</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/network-administrator/small-script-to-get-disks-configuration-from-remote-computer-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
