Operating System Poll

Posted on 2007-10-03
Last Modified: 2010-03-05
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?
Question by:OCUW
    1 Comment
    LVL 95

    Accepted Solution

    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.

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

    System information for \\
    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

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    This article will show, step by step, how to integrate R code into a R Sweave document
    Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now