Updated: 2013-11-20 – Added User submitted version of script to downloads.
I have tweaked my powershell script for the SCCM Dell/HP tags due to popular demand so that it can be run on a single machine using a list of service tags as the source and then will output to a CSV file. The source CSV can have any number of columns however it MUST have the following three for the script to work “Name,Vendor,Tag” in its default state. You also need to edit the $infile & $outfile variables as required.
This can be changed if you wish by editing the following three lines in the “Main” function.
- $tag = $entry.Tag
- $manu = $entry.Vendor
- $name = $entry.Name
Name = The Name of the system
Vendor = The Manufacturer of the system (dell or HP)
Tag = The service tag of the system.
As always any issues or feedback just leave a comment (or donate ;) )