﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>The VNC Manager - SmartCode Solutions Forum / General Discussion / SmartCode VNC Manager  / VB Script to show Serial Number or Service tag / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>The VNC Manager - SmartCode Solutions Forum</description><link>http://www.s-code.com/forum/</link><webMaster>forums@s-code.com</webMaster><lastBuildDate>Sat, 20 Mar 2010 04:51:07 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: VB Script to show Serial Number or Service tag</title><link>http://www.s-code.com/forum/Topic2075-3-1.aspx</link><description>That works brilliantly now :)&lt;br&gt;&lt;br&gt;Cheers</description><pubDate>Tue, 19 Aug 2008 05:04:42 GMT</pubDate><dc:creator>TomT</dc:creator></item><item><title>RE: VB Script to show Serial Number or Service tag</title><link>http://www.s-code.com/forum/Topic2075-3-1.aspx</link><description>That's because the script posted by jeffs24 has strComputer variable assigned to localhost (".")&lt;br&gt;&lt;br&gt;You should replace the first line with:&lt;br&gt;strComputer = WScript.Arguments.Item(0)&lt;br&gt;</description><pubDate>Tue, 19 Aug 2008 02:21:45 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>RE: VB Script to show Serial Number or Service tag</title><link>http://www.s-code.com/forum/Topic2075-3-1.aspx</link><description>I have followed your guide above. The problem is though this only returns the localhost service tag and not the remote host.&lt;br&gt;&lt;br&gt;I would prefer it to return the remote computers service tag.</description><pubDate>Tue, 19 Aug 2008 01:01:37 GMT</pubDate><dc:creator>TomT</dc:creator></item><item><title>RE: VB Script to show Serial Number or Service tag</title><link>http://www.s-code.com/forum/Topic2075-3-1.aspx</link><description>In case if you want to create an external tool launching a VBscript you should enter the following values into the properties dialog:&lt;br&gt;&lt;br&gt;Command:  cscript.exe&lt;br&gt;Arguments: [Path to your .vbs file] , you can also enter optional arguments like  ($SERVER_IP)&lt;br&gt;&lt;br&gt;Most probably you would have to have "Keep console window" checkbox checked.&lt;br&gt;&lt;br&gt;</description><pubDate>Mon, 18 Aug 2008 22:14:25 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>RE: VB Script to show Serial Number or Service tag</title><link>http://www.s-code.com/forum/Topic2075-3-1.aspx</link><description>How do we link this .vbs script up to work in VNC manager?&lt;br&gt;&lt;br&gt;The limited help files only go as far as explaining how to add a .exe file...</description><pubDate>Mon, 18 Aug 2008 08:43:31 GMT</pubDate><dc:creator>TomT</dc:creator></item><item><title>VB Script to show Serial Number or Service tag</title><link>http://www.s-code.com/forum/Topic2075-3-1.aspx</link><description>Hey guys,  I have just started using VNC Manager and I have to say it is very impressive!  well worth the cost! &lt;/P&gt;&lt;P&gt;anyway,&lt;/P&gt;&lt;P&gt;here is a VB Script that you can remote execute to get the Manufacturer of the machine as well as the serial number.   I have tested this with HP and the serial number displays just as it should... I tested it on a dell machine and was plesently suprised to see that it flawlessly displays the service tag so every dell I tried it on.  very handy to have that information remotely at a click of a mouse.&lt;/P&gt;&lt;P&gt;here is the code:&lt;/P&gt;&lt;P&gt;[code]strComputer = "."&lt;BR&gt;Set objWMIService = GetObject("winmgmts:" _&lt;BR&gt;    &amp;amp; "{impersonationLevel=impersonate}!\\" &amp;amp; strComputer &amp;amp; "\root\cimv2")&lt;BR&gt;Set colBIOS = objWMIService.ExecQuery _&lt;BR&gt;    ("Select * from Win32_BIOS")&lt;BR&gt;For each objBIOS in colBIOS&lt;BR&gt;    WScript.StdOut.WriteLine "Manufacturer: " &amp;amp; objBIOS.Manufacturer&lt;BR&gt;    WScript.StdOut.WriteLine "Serial Number: " &amp;amp; objBIOS.SerialNumber&lt;BR&gt;Next[/code]&lt;/P&gt;&lt;P&gt;I got this script from HP's website and edited it so the output would work with VNC Manager.&lt;/P&gt;&lt;P&gt;the original script is located here: &lt;/P&gt;&lt;P&gt;&lt;A href="http://h41111.www4.hp.com/hps/carepack/emea_middle_east/en/getserial.html"&gt;http://h41111.www4.hp.com/hps/carepack/emea_middle_east/en/getserial.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;have to give credit where credit is due! ;)</description><pubDate>Wed, 21 May 2008 07:18:44 GMT</pubDate><dc:creator>jeffs24</dc:creator></item></channel></rss>