====== Windows Networking ======
====== Handy Commands ======
===== List Listening Ports =====
Get-NetTCPConnection -state listen | Select-Object -Property *,@{'Name' = 'ProcessName';'Expression'={(Get-Process -Id $_.OwningProcess).Name}} | select-object OwningProcess,ProcessName,LocalPort
=====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