This is an old revision of the document!


Windows Networking

Handy Commands

Get host IP addresses

Example of getting all IPv4 IP Addresses with Powershell

Get-NetIPAddress -AddressFamily ipv4 | foreach {$_.IPAddress}
ipconfig /all | findstr /i ipv4
ipconfig /all | sls ipv4

Get public IP

(curl ifconfig.me).Content

Reset Network Stack

netsh winsock reset
netsh int IP reset
ipconfig /flushdns
  • windows_networking.1661437259.txt.gz
  • Last modified: 2022/08/25 14:20
  • by mgupton