Monday, November 26, 2012

How to get PC Manufacturer and Model with WMI

Need to get the Manufacturer and/or Model of a computer?

You can use the build in command WMIC.EXE for this.

Just type in:
WMIC.exe ComputerSystem Get Model, Manufacturer

To do it against a Remote system:
WMIC.exe /node:"ComputerNameORIpAddress" ComputerSystem Get Model, Manufacturer


You can of course get it from the GUI as well, then you just use "System Information"

When was Windows started?

How long have the Server of PC been running? Sometimes you need to figure when the OS was started. As always there are different was of get...