Monday, 28 October 2013

Useful Command Lines - To Get Computer Info Remotely

Get serial number of the computer:
wmic bios get serialnumber

Get serial number of the computer remotely from system name:
wmic /node:L12345678 bios get serialnumber

Get serial number of the computer remotely from IP address:
wmic /node:10.23.56.789 bios get serialnumber

=============================================================

Get system model from system name:
wmic csproduct get name

Get system model remotely from system name:
wmic /node:L12345678 csproduct get name

Get system model remotely from IP address:
wmic /node:10.23.56.789 cproduct get name

==============================================================

Get username from system name:
wmic computersystem get username

Get username remotely from system name:
wmic /node:L12345678 computersystem get username

Get username remotely from IP address:
wmic /node:10.23.56.789 computersystem get username

==============================================================