{"id":3063,"date":"2026-05-16T17:12:58","date_gmt":"2026-05-16T21:12:58","guid":{"rendered":"https:\/\/www.sudlatnid.com\/?p=3063"},"modified":"2026-05-16T17:15:16","modified_gmt":"2026-05-16T21:15:16","slug":"6-windows-networking-commands-every-single-day","status":"publish","type":"post","link":"https:\/\/www.sudlatnid.com\/?p=3063","title":{"rendered":"6 Windows networking commands every single day"},"content":{"rendered":"<p><img data-dominant-color=\"58514d\" data-has-transparency=\"false\" style=\"--dominant-color: #58514d;\" loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3064 alignleft not-transparent\" src=\"https:\/\/www.sudlatnid.com\/wp-content\/uploads\/2026\/05\/ethernet-cables-plugged-into-a-ubiquiti-flex-mini-managed-network-switch-3-300x169.avif\" alt=\"\" width=\"300\" height=\"169\" srcset=\"https:\/\/www.sudlatnid.com\/wp-content\/uploads\/2026\/05\/ethernet-cables-plugged-into-a-ubiquiti-flex-mini-managed-network-switch-3-300x169.avif 300w, https:\/\/www.sudlatnid.com\/wp-content\/uploads\/2026\/05\/ethernet-cables-plugged-into-a-ubiquiti-flex-mini-managed-network-switch-3-1024x576.avif 1024w, https:\/\/www.sudlatnid.com\/wp-content\/uploads\/2026\/05\/ethernet-cables-plugged-into-a-ubiquiti-flex-mini-managed-network-switch-3-768x432.avif 768w, https:\/\/www.sudlatnid.com\/wp-content\/uploads\/2026\/05\/ethernet-cables-plugged-into-a-ubiquiti-flex-mini-managed-network-switch-3-1536x864.avif 1536w, https:\/\/www.sudlatnid.com\/wp-content\/uploads\/2026\/05\/ethernet-cables-plugged-into-a-ubiquiti-flex-mini-managed-network-switch-3.avif 1600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>One of the things I use the terminal for on Windows, in both PowerShell and WSL, is for running basic network diagnostics. Here are the commands I use most frequently.<\/p>\n<h2 id=\"ping\">ping<\/h2>\n<h3 id=\"is-that-site-up-or-down\">Is that site up or down?<\/h3>\n<p>This is a basic networking command. This was the first one that a community college networking class instructor demonstrated in the Command Prompt. This was in the days before PowerShell even existed.<\/p>\n<p>ping is a sends packets to a remote system and waits for it to echo them back. This is useful for determining if a site is down or your network connection has failed.<\/p>\n<p>For example, to ping google:<\/p>\n<pre><code class=\"plaintext hljs language-plaintext\" data-highlighted=\"yes\">ping google.com<\/code><\/pre>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\" data-img-url=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/windows-powershell-ping.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\"><picture><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/windows-powershell-ping.png?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\" media=\"(max-width: 480px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/windows-powershell-ping.png?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\" \/><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/windows-powershell-ping.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" media=\"(max-width: 767px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/windows-powershell-ping.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" \/><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/windows-powershell-ping.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" media=\"(max-width: 1023px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/windows-powershell-ping.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" \/><img loading=\"lazy\" decoding=\"async\" class=\"img-brightness-opt-out\" src=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/windows-powershell-ping.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" alt=\"Output of Windows Powershell ping command from google.com.\" width=\"825\" height=\"204\" data-img-url=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/windows-powershell-ping.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" \/><\/picture><\/div>\n<\/div>\n<p>You can also ping IP addresses:<\/p>\n<pre><code class=\"plaintext hljs language-plaintext\" data-highlighted=\"yes\">ping 192.168.0.1<\/code><\/pre>\n<p>This will send four packets to google. If your connection and the remote site is working, you\u2019ll get some responses.<\/p>\n<p>You\u2019ll also see some other information. You\u2019ll see the round-trip times, the size of the packets in bytes, and the TTL, or \u201cTime To Live.\u201d This number defines the maximum number of hops that a packet can go through before it\u2019s declared \u201cdead.\u201d<\/p>\n<p>You\u2019ll also get some statistics, such as the minimum, maximum, or average ping times. The latter will probably annoy statisticians, but the \u201caverage\u201d refers to the mean, as it does among normal people.<\/p>\n<p>You can change the number of replies with the -n option.<\/p>\n<p>A \u201cRequest timed out\u201d message does not necessarily mean a host is unresponsive or your network is down. A lot of hosts are set to ignore ping messages for security, on the theory that if you can\u2019t ping a machine, you can\u2019t break into it.<\/p>\n<div id=\"IIicPE38O-s\" class=\"w-rich w-youtube\"><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/IIicPE38O-s\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/div>\n<h2 id=\"ping-wsl-version\">ping (WSL) version<\/h2>\n<h3 id=\"ping-forever-in-linux\">Ping forever in Linux<\/h3>\n<p><a href=\"https:\/\/www.howtogeek.com\/reasons-wsl-works-for-me\/\" target=\"_blank\" rel=\"noopener\">On Windows, I tend to spend more time in Ubuntu on WSL for command-line use<\/a>, because there are a lot more programming tools on that side. I can also\u00a0<a href=\"https:\/\/www.howtogeek.com\/how-to-mix-and-match-windows-and-linux-with-wsl\/\" target=\"_blank\" rel=\"noopener\">mix and match the two environments<\/a>\u00a0from the same command line. There is also a ping command.<\/p>\n<p>It works almost identically to the Windows version:<\/p>\n<pre><code class=\"bash hljs language-bash\" data-highlighted=\"yes\">\r\nping google.com\r\n<\/code><\/pre>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\" data-img-url=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/wsl-ping.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\"><picture><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/wsl-ping.png?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\" media=\"(max-width: 480px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/wsl-ping.png?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\" \/><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/wsl-ping.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" media=\"(max-width: 767px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/wsl-ping.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" \/><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/wsl-ping.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" media=\"(max-width: 1023px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/wsl-ping.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" \/><img loading=\"lazy\" decoding=\"async\" class=\"img-brightness-opt-out\" src=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/wsl-ping.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" alt=\"Return times for ping command using WSL of google.com.\" width=\"825\" height=\"171\" data-img-url=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/wsl-ping.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" \/><\/picture><\/div>\n<\/div>\n<p>There\u2019s a difference in the default behavior between the Windows and Linux versions of ping. While Windows will stop by default after four pings, the Linux ping command will run forever until you stop it by pressing Ctrl + c.<\/p>\n<p>You can make it stop after a certain number of pings by using the -c option:<\/p>\n<pre><code class=\"bash hljs language-bash\" data-highlighted=\"yes\">ping -c 4 google.com\r\n<\/code><\/pre>\n<p>As with the Windows version, the\u00a0<a href=\"https:\/\/www.howtogeek.com\/how-to-make-sense-of-linux-ping-stats\/\" target=\"_blank\" rel=\"noopener\">Linux ping will display statistics on the round-trip times<\/a>. It also includes, the minimum, maximum and average ping times, but also the standard deviation, which will help you determine the spread of the ping times, reported as \u201cmdev.\u201d<\/p>\n<p>If the ping command isn\u2019t found, try installing the iputils-ping package:<\/p>\n<pre><code class=\"bash hljs language-bash\" data-highlighted=\"yes\"><span class=\"hljs-built_in\">sudo<\/span> apt install iputils-ping\r\n<\/code><\/pre>\n<h2 id=\"tracert\">tracert<\/h2>\n<h3 id=\"trace-the-path-your-packets-take\">Trace the path your packets take<\/h3>\n<p>Windows also includes a tool to run a\u00a0<a href=\"https:\/\/www.howtogeek.com\/134132\/how-to-use-traceroute-to-identify-network-problems\/\" target=\"_blank\" rel=\"noopener\">traceroute, or a path through the network<\/a>, from your machine to a remote hostname or IP address. It\u2019s called tracert<\/p>\n<p>Do you remember the TTL? tracert works by setting the TTL to 0 at increments it by 1, listing the node that replied with each packet.<\/p>\n<p>To use it, you can use the tracert command similar to the ping command:<\/p>\n<pre><code class=\"bash hljs language-bash\" data-highlighted=\"yes\">tracert google.com<\/code><\/pre>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\" data-img-url=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/powershell-tracert.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\"><picture><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/powershell-tracert.png?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\" media=\"(max-width: 480px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/powershell-tracert.png?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\" \/><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/powershell-tracert.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" media=\"(max-width: 767px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/powershell-tracert.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" \/><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/powershell-tracert.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" media=\"(max-width: 1023px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/powershell-tracert.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" \/><img loading=\"lazy\" decoding=\"async\" class=\"img-brightness-opt-out\" src=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/powershell-tracert.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" alt=\"PowerShell tracert command of google.com.\" width=\"825\" height=\"287\" data-img-url=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/powershell-tracert.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" \/><\/picture><\/div>\n<\/div>\n<p>You\u2019ll see the local nodes from your ISP, through some exchange. A large ISP will have a lot of its own exchange points.<\/p>\n<p>As with ping, a lot of nodes will not report back. This will be represented as blank entries. It\u2019s interesting to see where these packets go. The routes can change through each pass, because internet routers can choose different paths. There\u2019s also a remarkable consistency, because the nodes are pretty good at optimizing themselves these days.<\/p>\n<h2 id=\"tracepath\">Tracepath<\/h2>\n<h3 id=\"the-linux-version-of-tracert\">The Linux version of tracert<\/h3>\n<p>As with ping, tracert on Windows has a WSL counterpart. It\u2019s called tracepath, and you can install it through apt:<\/p>\n<pre><code class=\"bash hljs language-bash\" data-highlighted=\"yes\"><span class=\"hljs-built_in\">sudo<\/span> apt install iputils-tracepath<\/code><\/pre>\n<p>You can also use it similarly to tracert:<\/p>\n<pre><code class=\"bash hljs language-bash\" data-highlighted=\"yes\">tracepath google.com<\/code><\/pre>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\" data-img-url=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/tracepath-wsl.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\"><picture><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/tracepath-wsl.png?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\" media=\"(max-width: 480px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/tracepath-wsl.png?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\" \/><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/tracepath-wsl.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" media=\"(max-width: 767px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/tracepath-wsl.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" \/><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/tracepath-wsl.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" media=\"(max-width: 1023px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/tracepath-wsl.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" \/><img loading=\"lazy\" decoding=\"async\" class=\"img-brightness-opt-out\" src=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/tracepath-wsl.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" alt=\"Tracepath running in WSL.\" width=\"825\" height=\"234\" data-img-url=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/tracepath-wsl.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" \/><\/picture><\/div>\n<\/div>\n<p>I find that the Windows tracert command seems to work more reliably, as much as I love Windows and WSL. This might be due to the how it runs as a native program and thus is closer to the networking hardware.<\/p>\n<p>I can call tracert from the Linux side by just appending a \u201c.exe\u201d in WSL<\/p>\n<p>tracert.exe google.com<\/p>\n<h2 id=\"mtr\">mtr<\/h2>\n<h3 id=\"combine-a-ping-and-a-traceroute-in-wsl\">Combine a ping and a traceroute in WSL<\/h3>\n<p>If you were looking for a command that could combine the features of both a ping and a traceroute, you\u2019re in luck if you use WSL. MTR is a tool that does just that. You can install it in WSL with this command:<\/p>\n<pre><code class=\"bash hljs language-bash\" data-highlighted=\"yes\"><span class=\"hljs-built_in\">sudo<\/span> apt install mtr<\/code><\/pre>\n<p>You can use it in the same way as ping or tracert:<\/p>\n<pre><code class=\"bash hljs language-bash\" data-highlighted=\"yes\">mtr google.com<\/code><\/pre>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\" data-img-url=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/mtr-terminal.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\"><picture><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/mtr-terminal.png?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\" media=\"(max-width: 480px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/mtr-terminal.png?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\" \/><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/mtr-terminal.png?q=49&amp;fit=crop&amp;w=800&amp;dpr=2\" media=\"(max-width: 767px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/mtr-terminal.png?q=49&amp;fit=crop&amp;w=800&amp;dpr=2\" \/><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/mtr-terminal.png?q=49&amp;fit=crop&amp;w=825&amp;dpr=2\" media=\"(max-width: 1023px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/mtr-terminal.png?q=49&amp;fit=crop&amp;w=825&amp;dpr=2\" \/><img loading=\"lazy\" decoding=\"async\" class=\"img-brightness-opt-out\" src=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/mtr-terminal.png?q=49&amp;fit=crop&amp;w=825&amp;dpr=2\" alt=\"MTR for google.com in the WSL terminal.\" width=\"1650\" height=\"870\" data-img-url=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/01\/mtr-terminal.png?q=49&amp;fit=crop&amp;w=825&amp;dpr=2\" \/><\/picture><\/div>\n<\/div>\n<p>By default, it will display a graphical window with the combined ping and traceroute continually running, but the -t option will make it run in the terminal.<\/p>\n<p>You can set a shell alias to alter its behavior permanently if you want.<\/p>\n<h2 id=\"ipconfig\">Ipconfig<\/h2>\n<h3 id=\"check-your-network-interfaces\">Check your network interfaces<\/h3>\n<p>The ip command on Linux lets me examine the status of networking interfaces, but its usefulness is limited in WSL because it\u2019s dealing with virtualized interfaces. The Windows command-line counterpart is ipconfig.<\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\" data-img-url=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/ipconfig-powershell.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\"><picture><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/ipconfig-powershell.png?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\" media=\"(max-width: 480px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/ipconfig-powershell.png?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\" \/><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/ipconfig-powershell.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" media=\"(max-width: 767px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/ipconfig-powershell.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" \/><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/ipconfig-powershell.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" media=\"(max-width: 1023px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/ipconfig-powershell.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" \/><img loading=\"lazy\" decoding=\"async\" class=\"img-brightness-opt-out\" src=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/ipconfig-powershell.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" alt=\"ipconfig showing networking interfaces in Windows in PowerShell.\" width=\"825\" height=\"530\" data-img-url=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/ipconfig-powershell.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" \/><\/picture><\/div>\n<\/div>\n<p>I can just enter the command at the prompt to see all the active adapters.<\/p>\n<div class=\"w-promotion-offer promo-article-content-3\/4-depth w-promotion-widget\" data-popup=\"false\" data-sentinel-tracking=\"false\" data-promotion-zone=\"TmV3c2xldHRlciBBcnRpY2xlIENvbnRlbnQgV2lkZ2V0\" data-nosnippet=\"\">\n<div class=\"promotion-offer-box\" data-style-path-url=\"https:\/\/static0.howtogeekimages.com\/assets\/promotions.1868c8ac.css\">\n<div data-guid=\"728507711nlp\" data-nosnippet=\"\">\n<div id=\"newsletter-message-large\" class=\"newsletter-promotion-large \">\n<div id=\"newsletter-form\" class=\"newsletter-section\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h2 id=\"netstat\">Netstat<\/h2>\n<h3 id=\"see-open-connections\">See open connections<\/h3>\n<p>Another useful command is netstat, which lets me see all the open network connections.<\/p>\n<p>Just type \u201cnetstat\u201d at the PowerShell or Command Prompt. To exit it, press Ctrl + c.<\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\" data-img-url=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/netstat-powershell.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\"><picture><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/netstat-powershell.png?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\" media=\"(max-width: 480px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/netstat-powershell.png?q=49&amp;fit=crop&amp;w=500&amp;dpr=2\" \/><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/netstat-powershell.png?q=49&amp;fit=crop&amp;w=800&amp;dpr=2\" media=\"(max-width: 767px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/netstat-powershell.png?q=49&amp;fit=crop&amp;w=800&amp;dpr=2\" \/><source srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/netstat-powershell.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" media=\"(max-width: 1023px)\" data-srcset=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/netstat-powershell.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" \/><img loading=\"lazy\" decoding=\"async\" class=\"img-brightness-opt-out\" src=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/netstat-powershell.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" alt=\"Output of netstat command in PowerShell.\" width=\"825\" height=\"475\" data-img-url=\"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2026\/05\/netstat-powershell.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" \/><\/picture><\/div>\n<\/div>\n<p>This can be useful in dealing with any security problems. Just run netstat and make sure any open connections are accounted for.<\/p>\n<h2 id=\"route\">route<\/h2>\n<h3 id=\"which-way-to-the-internet\">Which way to the internet?<\/h3>\n<p>Another useful command is route, which displays the routing table:<\/p>\n<pre><code class=\"plaintext hljs language-plaintext\" data-highlighted=\"yes\">route print<\/code><\/pre>\n<p>It would probably be more useful to me if I didn\u2019t have a Wi-Fi with only one internet connection. My packets to and from the outside world can only go through the router and cable modem.<\/p>\n<hr \/>\n<h3 id=\"networking-from-the-windows-command-line\">Networking from the Windows command line<\/h3>\n<p>With PowerShell and WSL, you can quickly run diagnostics to troubleshoot network problems on Windows. Whether you want to find out if a site is down, or you want to learn more about networking, the Windows command line is a good place to start.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; One of the things I use the terminal for on Windows, in both PowerShell and WSL, is for running basic network diagnostics. Here are the commands I use most frequently. ping Is that site&hellip;<\/p>\n<p><a class=\"excerpt-readmore\" href=\"https:\/\/www.sudlatnid.com\/?p=3063\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":3064,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[16],"tags":[],"class_list":["post-3063","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-related","odd"],"jetpack_featured_media_url":"https:\/\/www.sudlatnid.com\/wp-content\/uploads\/2026\/05\/ethernet-cables-plugged-into-a-ubiquiti-flex-mini-managed-network-switch-3.avif","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sudlatnid.com\/index.php?rest_route=\/wp\/v2\/posts\/3063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sudlatnid.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sudlatnid.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sudlatnid.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sudlatnid.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3063"}],"version-history":[{"count":3,"href":"https:\/\/www.sudlatnid.com\/index.php?rest_route=\/wp\/v2\/posts\/3063\/revisions"}],"predecessor-version":[{"id":3067,"href":"https:\/\/www.sudlatnid.com\/index.php?rest_route=\/wp\/v2\/posts\/3063\/revisions\/3067"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sudlatnid.com\/index.php?rest_route=\/wp\/v2\/media\/3064"}],"wp:attachment":[{"href":"https:\/\/www.sudlatnid.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sudlatnid.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sudlatnid.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}