Pop Quiz: Windows ipconfig command

Do you know how to quickly release and renew DCHP leases on Windows PCs? Test your knowledge of the Windows ipconfig command.

Answers to our TR Dojo pop quiz on the Windows ipconfig command:

1. Entering ipconfig without any switches will give you which of the following?

Full TCP/IP configuration information for all network adapters

IP address, subnet mask, and default gateway for primary network adapter

IP address, subnet mask, and default gateway for all network adapters

No information - It must be used with switches

2. Which of the following commands would you use to show full TCP/IP configuration for all adapters?

ipconfig

ipconfig /complete

ipconfig /all

ipconfig /full

3. Which of the following commands would you use to release the DHCP lease for all adapters that have them?

ipconfig /lease

ipconfig /release

ipconfig /leaserelease

ipconfig /r

4. Which of the following commands would you use to release the IPv6 DHCP lease for all adapters that have them?

ipconfig /release

ipconfig /r

ipconfig /release6

ipconfig /lease6

5. Which of the following commands would you use to get a new DHCP lease for all adapters?

ipconfig /renew

ipconfig /getnew

ipconfig /new

ipconfig /lease

6. Which of the following commands would use you to get a new IPv6 DHCP lease for all adapters?

ipconfig /renew

ipconfig /new

ipconfig /new6

ipconfig /renew6

7. Which of the following commands would you use to purge a machine's DNS cache?

ipconfig /purgedns

ipconfig /flushdns

ipconfig /deletedns

ipconfig /wipedns

8. Which of the following commands would you use to show the contents of a machine's DNS cache?

ipconfig /showdns

ipconfig /displaydns

ipconfig /dns

ipconfig /opendns

9. Which of the following commands would you use to refresh all DHCP leases and re-register DNS names?

ipconfig /refresh

ipconfig /register

ipconfig /registerdns

ipconfig /registerdhcp

10. Which of the following commands would you use to display all the DHCP class IDs allowed for the specified adapter?

ipconfig /displayclass "Local Area Connection"

iipconfig /displayclassid "Local Area Connection"

ipconfig /showclass "Local Area Connection"

ipconfig /showclassid "Local Area Connection"