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

Operating System Poll

I need to be able to run a script to determine all the operating systems that are running on my network.  It would be preferable if I could also see the computer names and whatever other information I can get my hands on.  What is the best and quickest way to poll for this information?
0
OCUW
Asked:
OCUW
1 Solution
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
You could download PSINFO, then, as an admin, run:

FOR /l %a in (1,1,254) do PSINFO \\x.y.z.%a

(Replacing x.y.z with your typical subnet, for example, 192.168.1.%a)

This won't get you name info, but it does return OS types

You can also try the free network management software, Spiceworks.
http://www.spiceworks.com/

PSInfo gives information like this:
PsInfo v1.73 - Local and remote system information viewer
Copyright (C) 2001-2005 Mark Russinovich
Sysinternals - www.sysinternals.com

System information for \\192.168.1.3:
Uptime:                    96 days 20 hours 4 minutes 54 seconds
Kernel version:            Microsoft Windows Server 2003 R2, Multiprocessor Free
Product type:              Enterprise Edition
Product version:           5.2
Service pack:              1
Kernel build number:       3790
Registered organization:
Registered owner:          Name entered during setup
Install date:              5/13/2006, 3:06:03 AM
Activation status:         Error reading status
IE version:                6.0000
System root:               C:\WINDOWS
Processors:                2
Processor speed:           2.0 GHz
Processor type:            AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Physical memory:           2304 MB
Video driver:              Standard VGA Graphics Adapter
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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