Output IP Address with ipconfig Findstr Ethernet Adapter
How many times have you entered ipconfig /all at the command line to return a single IP address, then have to strain your eyes sifting through mostly unwanted networking info (subnet mask/gateway/DNS/mac address)? As a sysadmin, after rinsing and repeating this process nearly every day of your waking sysadmin life, this tends to lean towards the monotonous side. What I would like to propose is to declare an environment variable which utilizes native Windows CLI tools which strips out the information you don’t need while leaving the gold behind, the IP address. Create a short and easy environmental variable so that the