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
Changing the Background Color for a Table in Microsoft Word 2000
To change the background color in a table in Microsoft Word 2000,
take the following steps:
- Right-click somewhere in the table.
- Choose Table Properties.
- Click on the Borders and Shading button.
- Select the color you want for the table's background under
Fill.
- Click on OK.
- Click on OK again.
If you want to change the background color for just one cell in the table,
take the same steps as above, but before you click on OK after
selecting the fill color, change the value in the Apply to field
from "table" to "cell".
If you want to change the background color for an entire row in the table,
the steps are basically the same, but you need to highlight all the cells
in the row before selecting Table Properties.
- Right-click somewhere in the table.
- Choose Table Properties.
- Click on the Table tab.
- Click on the Borders and Shading button.
- Select the color you want for the table's background under
Fill.
- Click on OK.
- Click on OK again.
[/os/windows/office/word]
permanent link