Get workstation serial numbers

BatchPatch Forums Home Forums BatchPatch Support Forum Get workstation serial numbers

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8597
    imabev
    Participant

    I’d like to use batchpatch to get all of the machine serial numbers on my network. I tried the get the sn’s running PSExec (wmic bios get serialnumber) but it only returns the exit code. I guess its just a formatting issue? If I run that same command from a command window it does return the serial number. I also played around with vbs scripts but was unsuccessful and seemed to complicate things even more.

    Is there a way to get this info using batchpatch?

    #9942
    WeekendMedic
    Participant

    I needed the same thing, and found a solution.

    Under Get Information – Create/Modify User Commands, add a line that runs the command below. Works nicely on HP workstations, it does pad the value with “SerialNumber ” but that’s workable.

    WMIC BIOS GET SERIALNUMBER

    Eric

    #11696
    Anonymous
    Inactive

    If you have changed a board, and also not all BIOS codes are actually pre-entered. In that case it is necessary to boot into the BIOS of a machine with that issue, and enter it manually (from reading it off of the hardware itself.) In other words, if the machine is not very old, the response you are getting is the default response when no value is set (null).

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.