BIOSinfo  v1.3

Copyright (c) 2005 - 2007 Gerald W. Gaston

------------------------------------------------------------------------------
Terms of Use:

THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF MERCHANTABILITY ARE HEREBY DISCLAIMED. USE AT YOUR OWN RISK.

YOU MAY NOT DISTRIBUTE BIOSINFO WITHOUT THE EXPRESS WRITTEN PERMISSION OF GERALD W. GASTON.

------------------------------------------------------------------------------


BIOSinfo displays Manufacturer, Model, Serial Number, and BIOS version for the local host or, when using the /M switch, a remote host. WMI must be
functional, and you must have sufficient rights. Some systems may not return any or all of the information we are looking for.

Use:
  BIOSinfo /?

to show syntax info.

Syntax:
------------------------------------------------------------------------------
BIOSinfo [/M (Hostname | IPAddress) [/K | /L]] [/N] [/U username [/P password]] [(/V | /C [/D delimchar] [/R delimreplchar] [/T tabooreplchar] [/A])]

All switches are optional. If ran with no switches the local host is queried using the currently logged on user's credentials.

/M = Remote hostname or IP Address .
/N = Show nothing on WMI/Unknown errors. Does still set error code though.
/U = Username to connect with. May include domain (domain\username).
/P = Password for username specified with /U switch.
/K = Use Kerberos authentication. Can't be used with the /L switch.
/L = User NT Lan Manager authentication. Can't be used with the /K switch.
/V = Verbose output (WMI classes used). Can't be used with the /C switch.
/C = CSV output. Can't be used with the /V switch. Needed for the following:
  /A   = Always surround each output value in double quotes.
  /D x = Delimeter character to use (instead of comma) for CSV output.
  /R x = Character to replace the delimeter character (if found) in output.
  /T x = Character to replace special characters that may be hard to parse.
         Taboo characters replaced (if /T specified):  ^ ` ' & ( ) "


Exit codes:
------------------------------------------------------------------------------
0   - successful. Doesn't mean all data we were looking for was returned.
1   - unsuccessful. Likely WMI or rights issue if the host is online.
9   - for all other errors (including showing help).


Example:
------------------------------------------------------------------------------
BIOSinfo /M oldLaptop1

Manufacturer:   Dell Computer Corporation
Model:          Latitude C840
Serial Number:  4TBOGUS
BIOS Version:   A13

More Examples...



Copyright © 2004-2007 Gerald's Tools