bsharath
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
Can we scan the network (Domain) for 1 particular service tag as we search for machine names.Manufacturer service tag.
Regards
Sharath
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.
...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.
ASKER
johnb6767:
This does not pick the serial no
veedar:
Spice works is a good tool but no option to export
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("S elect * from Win32_BIOS",,48)
For each objitem in colitems
Wscript.echo "Dell Service Tag: " & objitem.serialnumber
Next
set colItems2 = objWMIService.ExecQuery("S elect * from Win32_ComputerSystem",,48)
For Each objItem2 in colItems2
Wscript.Echo "Dell Model Name: " & objItem2.Model
Next
on error resume next
strComputer = "."
Set objWMIservice = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
set colitems = objWMIservice.ExecQuery("S
For each objitem in colitems
Wscript.echo "Dell Service Tag: " & objitem.serialnumber
Next
set colItems2 = objWMIService.ExecQuery("S
For Each objItem2 in colItems2
Wscript.Echo "Dell Model Name: " & objItem2.Model
Next
ASKER
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
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
ASKER
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.
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