

| Query Dell Service Tag |
|
|
|
|
Because most of the computers I work on are Dell's, a lot of times I need to look up the service tag for a specific machine. Without the need of bulky software, you can easily use WMI to gather this information. This article will show you how to remotely query your dell pc's for their service tags. Open notepad and copy the following text and paste it into your blank notepad ----------COPY EVERYTHING BELOW THIS LINE---------- PLEASE MAKE SURE NO WORD WRAPPING IS HAPPENING IN YOUR NOTEPAD!!! save the file as DellServiceTag.vbs to a location you will remember when you execute the script, it will prompt you for a computer name, type in the computer name of the dell machine you are trying to gather information from into the message box and hit OK You will then receive another message box with the dell service tag. If you want to run this against multiple machines then do the following: Open notepad and copy the following text and paste it into your blank notepad ----------COPY EVERYTHING BELOW THIS LINE---------- PLEASE MAKE SURE NO WORD WRAPPING IS HAPPENING IN YOUR NOTEPAD!!! Save the file as bath_DellServiceTag.vbs Now open a new Notepad and follow this format: C:\path\to\my\scripts\> cscript servicetag.vbs pc1 >> service_tag.txt Replace pc1, pc2, pc3 with your actual computer names. Double click on the dell_service_tag.bat file and you will be left with service_tag.txt with all of your PC's Dell Service tags inside This information was found on http://www.rokus.net/. This information is provided "AS IS" with no warranties expressed or implied.
Advertisements
|










