Search Windows and Linux Networking

Thursday, September 21, 2017

Getting Windows Client Basic Information from Command Line.


Getting windows client some basic information from command line quickly. 




1) Quickly get computer Hostname and domain information.
systeminfo | findstr /c:"Host Name" /c:"Domain"
 2) quickly get OS information
systeminfo | find "OS"
3) Quickly get System information 
systeminfo | find "System"
OR
 systeminfo | find "System" & wmic bios get serialnumber
4) Quickly get DNS client configuration
ipconfig /all | Findstr /c:"Dns" /c:"DNS" 
5) Quickly get DHCP client configuration
ipconfig /all | Findstr /c:"DHCP" /c:"IPv4" 
6) Quickly get Memory information. 
systeminfo | find "Memory"

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