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"