Questions tagged [ipconfig]

A Windows command used to view and modify network IP-related settings.

Useful links:

  1. IPCONFIG on technet.
  2. IPCONFIG on SS64 help pages.
97 questions
-1
votes
1 answer

Multiple Errors in Powershell Script (for changing NIC Settings)

i'm a relative newcomer to Powershell scripting so every bit of Help is very much appreciated. I put together a Script (mostly from Parts and from what i think would work) to change IP Addresses from a multiple Choice Menu and it seems to be kinda…
-1
votes
1 answer

Linux Bash: List interfaces with IPs and Mac addresses

I am working on a CentOS. This is my first time messing around in a UNIX-based OS, and having a hard time getting used to it. I have more solid experience with Powershell. Anyway, my task is to list all the Interfaces and their corresponding IP and…
Koczka Bence
  • 85
  • 2
  • 12
-1
votes
1 answer

Get the first 3 lines of each ip address/ifconfig interface command Linux

I am trying to get the first 3 lines of ip address/ifconfig from some VMs - some of them are running on Ubuntu, some of them on CentOS. For example: eth0: flags=4163 mtu 9001 inet 172.31.106.100 netmask…
Romain
  • 171
  • 1
  • 3
  • 15
-1
votes
1 answer

Batch-file for running commands in cmd

I'm working on a little fun school project. I want to create a windows form application, which runs commands in cmd by opening batch-file. I do not have much experience in using batch-files. I need help with the following: Batch file which opens…
zionik
  • 3
  • 1
  • 2
-1
votes
1 answer

ipconfig: merge two batch files (.bat) into one

I have two .bat files in use to toggle my Internet connection: 1) "ipconfig /release" (to switch off) 2) "ipconfig /renew" (to switch on) Could somebody please rewrite it, so I can use ONE single file instead of two? Specifically: one click -…
-2
votes
3 answers

get details from ipconfig python

I am looking for a short command to get an network interface ip address by its name, in python. it did not work with socket.getaddr() for example, this is my details: I want a func so: x=func('vEthernet (VIC Ethernet)') so that x will be…
Ron Keinan
  • 27
  • 4
-2
votes
1 answer

Program that automatically does ipconfig/release and then ipconfig/renew on a timer

As the title says, I want to create a program that automatically does ipconfig/release and then ipconfig/renew, every few minutes. I usually do this in the command prompt, but it would be much more convenient if a program could automate this. I was…
Jiff Pop
  • 5
  • 4
1 2 3 4 5 6
7