Search Windows and Linux Networking

Friday, January 15, 2016

GETTING SYSTEM INFORMATION FROM WINDOWS POWER SHELL


GETTING SYSTEM INFORMATION FROM WINDOWS POWER SHELL

Bellow are the some useful Power Shell command to get system information.

1.     How to get bios version?
            (get-wmiobject win32_bios).BiosVersion

2.     How to get serial number?
            (get-wmiobject win32_bios).serialnumber

3.     How to get motherboard information?
            get-wmiobject win32_BaseBoard

      OR
            get-Wmiobject win32-ComputerSystem

4.     How to get CPU information?
            get-wmiobject win32_Processor | Fl Manufacturer,Name,NumberofCores

5.     How to get network adaptor information?
            get-wmiobject win32_NetworkAdapter –property * | FT Name, Manufacturer, Description, MACAddress, Speed

6.     How to get Memory information?
            get-wmiobject win32_PhysicalMemory | FL Manufacturer, SerialNumber, PartNumber, Speed, Capacity