MoonPoint Support Logo

 


Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
October
Sun Mon Tue Wed Thu Fri Sat
     
10
 
2008
Months
Oct


Fri, Oct 10, 2008 11:45 pm

Querying the Dell Service Tag with VBS

I needed to produce a list of the service tags for all of the Dell systems at a site. I found a Visual Basic script at Query Dell Service Tag that could query a Dell system for the service tag. There were two versions there, one that would request the system name through a pop up window and another that could be run from a command prompt.

I wanted to be able to run such queries from a command prompt, so the second version appealed to me. But it only queried one system at a time, so I modified the script to allow me to specify multiple systems at one time on the command line. The updated script is available at Dell-ServiceTag.vbs.

Usage:

cscript /nologo Dell-ServiceTag.vbs a b c

Output: 

Computer: a Dell Service Tag: AGXQVD1
Computer: b Dell Service Tag: BRKF462
Computer: c Dell Service Tag: 1NFWLB3

[/languages/vbs] permanent link

Once You Know, You Newegg AliExpress by Alibaba.com

Shop Amazon Local - Subscribe to Deals in Your Neighborhood

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo