how to find ip address in cmd

0 votes

I'd like to write a script, and for example I'm going to use ipconfig as my command.

Now when you normally run this command theres a ton of output.

What I'd like to have is a script that would show only the IP address, for example.

echo Network Connection Test
ipconfig <---This would run in the background
echo Your IP Address is: (INSERT IP ADDRESS HERE)

The output would be

Network Connection Test

Your IP Address is: 192.168.1.1

Is this even possible?

Feb 8 in Cyber Security & Ethical Hacking by Edureka
• 5,460 points
32 views

1 answer to this question.

0 votes

1. Open the Command Prompt.  

a. Click the Start icon, type command prompt into the search bar and press click the Command Prompt icon.

Type ipconfig/all and press Enter.

3. The IP Address will display along with other LAN details.

answered Feb 9 by Edureka
• 5,760 points

Related Questions In Cyber Security & Ethical Hacking

+1 vote
1 answer

How to find IP address of nodes in my network?

The IP address of the nodes connected ...READ MORE

answered Feb 9, 2019 in Cyber Security & Ethical Hacking by Omkar
• 69,190 points
1,163 views
0 votes
1 answer

How to find MAC address using IP address?

To find the MAC address, run this ...READ MORE

answered Feb 9, 2019 in Cyber Security & Ethical Hacking by Omkar
• 69,190 points
892 views
0 votes
1 answer

How can I force the login to a specific ip address?

Try to access the router's default page. It's ...READ MORE

answered Feb 15 in Cyber Security & Ethical Hacking by Edureka
• 5,460 points
20 views
0 votes
0 answers

find IP address by domain in go

I am using below code for an ...READ MORE

Feb 16 in Cyber Security & Ethical Hacking by Edureka
• 5,460 points
20 views
0 votes
1 answer

how to find host name from IP with out login to the host

To find host name from IP you ...READ MORE

answered Feb 20 in Cyber Security & Ethical Hacking by Edureka
• 5,460 points
28 views
0 votes
1 answer

how to change your ip address?

Try using the following code. This the most ...READ MORE

answered Feb 21 in Cyber Security & Ethical Hacking by Edureka
• 5,460 points
77 views
0 votes
2 answers

IP Address Class C network and its gateway

The class C network has less than ...READ MORE

answered Feb 21 in Cyber Security & Ethical Hacking by Edureka
• 5,760 points
31 views
0 votes
0 answers
0 votes
1 answer

How to return client IP address in loopback 4?

You should also add this code in ...READ MORE

answered Mar 2 in Cyber Security & Ethical Hacking by Edureka
• 5,760 points
54 views
0 votes
1 answer

How do i check a ip address range whether it falls in Class A,Class B,Class C

class NetworkId{ static String findClass(String str){ int index = ...READ MORE

answered Feb 16 in Cyber Security & Ethical Hacking by Edureka
• 5,760 points
33 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP