• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 804
  • Last Modified:

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
0
bsharath
Asked:
bsharath
  • 4
  • 4
1 Solution
 
johnb6767Commented:
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
0
 
veedarCommented:
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.
0
 
bsharathAuthor Commented:
johnb6767:

This does not pick the serial no

veedar:

Spice works is a good tool but no option to export
0
Protect Your Employees from Wi-Fi Threats

As Wi-Fi growth and popularity continues to climb, not everyone understands the risks that come with connecting to public Wi-Fi or even offering Wi-Fi to employees, visitors and guests. Download the resource kit to make sure your safe wherever business takes you!

 
veedarCommented:
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
0
 
bsharathAuthor Commented:
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
0
 
veedarCommented:
1. Put the script I posted in a file call it stag.vbs
2. Copy stag,vbs to a remote pc under c:\
3. In a command window run... psexec \\remote-pc-name cmd /c  cscript.exe c:\\stag.vbs

Also it would seem you can export...from spiceworks web page...
"Create the custom reports you need with a simple interface. Publish them so others can stay in the loop. Export any report to PDF and Excel."
0
 
bsharathAuthor Commented:
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

0
 
bsharathAuthor Commented:
Any help Can we do this through group policy
0
 
veedarCommented:
In spiceworks you can export to excel but I do not think directly to text no.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now