How To find server serial number remotely ( Windows)

How many times have you been into a situation where you needed the serial number of a remote server and there is nobody on the remote location to be able to give you that? Windows have a built in function to let you retrieve the serial number of a PC or server via WMIC (Windows Management Instrumentation Command-line, which uses the power of Windows Management Instrumentation (WMI) to enable systems management and info retrieval from the command line. Here are some examples of the command use:

To get a list of all the physic al drives of a server including sizes and model numbers run the following command:
wmic diskdrive get model,name,size
Result looks like this:

Model Name Size
ADAPTEC RAID 1 SCSI Disk Device \\.\PHYSICALDRIVE1 799957831680
GB0250C8 045 SCSI Disk Device \\.\PHYSICALDRIVE0 250056737280

To retrieve the serial number of the computer run the following command:
wmic bios get serialnumber
 
Result looks like this:

SerialNumber
CZ10101010

To retrieve the model name of the computer run the following command:
wmic csproduct get name
 
Result looks like this:
Name
ProLiant ML110 G5

Nhận xét

Bài đăng phổ biến từ blog này

CLEANING UP THE ZABBIX DATABASE

Configuring DHCP Relay service on the FortiGate unit

WAN link load balancing