How to get your Dell Service Tag from the command line in Windows and Linux
If u want to get from a Dell machine, but not be able to physically look at the label. It’s a server in a data center, it’s your laptop and it’s on a dock, etc. Fortunately, there are easy commands to get the serial number right from the command line in both Windows and Linux.Windows:-
From a command prompt (with Administrator privileges) , type:
C:\Users\atta>wmic bios get serialnumber
OR
C:\Users\atta>wmic csproduct get vendor,name,identifyingnumber
Linux (Ubuntu and Others):-
From a terminal, type:
[root@atta ~]# sudo dmidecode -s system-serial-numberand if u want in detail, then type command u want...
[root@atta ~]# dmidecode -s
dmidecode: option requires an argument -- 's'
String keyword expected
Valid string keywords are:
bios-vendor
bios-version
bios-release-date
system-manufacturer
system-product-name
system-version
system-serial-number
system-uuid
baseboard-manufacturer
baseboard-product-name
baseboard-version
baseboard-serial-number
baseboard-asset-tag
chassis-manufacturer
chassis-type
chassis-version
chassis-serial-number
chassis-asset-tag
processor-family
processor-manufacturer
processor-version
processor-frequency
Comments are welcome, as always.
0 comments:
Post a Comment