Link to home
Start Free TrialLog in
Avatar of bsharath
bsharathFlag for India

asked on

Scan the network for one particular serrial no

Hi,

Can we scan the network (Domain) for 1 particular service tag as we search for machine names.Manufacturer service tag.

Regards
Sharath
Avatar of johnb6767
johnb6767
Flag of United States of America image

If you go to DOS, and run a systeminfo command, does t appear in the output?
Alternatively, try psinfo to run the command on a flat file of all the pc names, and output it to a file....Dont know if it picks up the sn though...

PsInfo v1.74
http://www.microsoft.com/technet/sysinternals/utilities/psinfo.mspx
Take a look at...  http://www.spiceworks.com

...it's easy to install and free. It will scan your network and capture service tags plus a lot more.  I also have a script that will grab the service tag off a single box but I expect spiceworks may be a better solution for you.
Avatar of bsharath

ASKER

johnb6767:

This does not pick the serial no

veedar:

Spice works is a good tool but no option to export
Here's a vbs script that will do it. Combine with psexec to run remotley....

on error resume next
strComputer = "."
Set objWMIservice = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
set colitems = objWMIservice.ExecQuery("Select * from Win32_BIOS",,48)
For each objitem in colitems
    Wscript.echo "Dell Service Tag: " & objitem.serialnumber
Next


set colItems2 = objWMIService.ExecQuery("Select * from Win32_ComputerSystem",,48)
For Each objItem2 in colItems2
    Wscript.Echo "Dell Model  Name: " & objItem2.Model
Next
veedar:

Combine with psexec to run remotley....

Sorry could not understand this part can you tell me how i need to run this command

THX
Sharath
ASKER CERTIFIED SOLUTION
Avatar of veedar
veedar
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
veedar:

This is working fine.

Can we get all the serail no's of all machine names which are there in a txt file.

Regards
Sharath

Any help Can we do this through group policy
In spiceworks you can export to excel but I do not think directly to text no.