We can find the ip address of a system from windows command line. We can use the built in command ipconfig for this. This command has different command line switches. But just running ipconfig will show the ip address for each network adapter installed on the system.
If the system is connected to a DHCP configured network then you can release the ip obtained from DHCP.
You can find the command below to do this.
The above command works for IPv4. To release IPv6 address the command is given below.
To flush the dns cache stored on the local system
To display the entries stored in the dns cache