What information does `ipconfig` provide on Windows, and when is `ipconfig /all` useful?
Answer
`ipconfig` shows core TCP/IP configuration such as IPv4/IPv6 addresses, subnet masks and default gateways. `ipconfig /all` adds detailed adapter information such as DHCP and DNS configuration. Options such as `/flushdns`, `/release` and `/renew` change state, so they should not be used merely to inspect a machine.
Strong answer includes
- basic ipconfig shows address, mask and gateway
- /all adds adapter, DHCP and DNS details
- distinguishes inspection from state-changing options
Practical example
When a Windows test agent cannot reach an internal service, `ipconfig /all` can reveal that it received the wrong DNS server or gateway, which is more informative than repeatedly retrying the application.