Start with Windows Terminal, then use PowerShell for deeper checks and Command Prompt for quick classic tests. Windows Terminal can open PowerShell, Command Prompt, and other shells in tabs, which saves time when you are checking a slow PC, a dead printer, or a network that keeps dropping [source: Microsoft].
TLDR: Use PowerShell when you need rich detail, Command Prompt when you need fast old-school commands, and Windows Terminal to keep both open together. For example, if five users say the internet is “down,” run ping, ipconfig, and Test-NetConnection before blaming the router. In a small office with 30 PCs, this can cut a 20-minute guessing session down to 5 minutes. The trick is to check IP, DNS, route, and service health in that order.
Why these three tools still matter
Windows keeps adding shiny settings screens, but the command line still wins when something breaks. It is fast. It gives direct answers. It also works when the Settings app is slow, frozen, or hiding the useful button three screens deep.
Windows Terminal is your workbench. Open one tab for PowerShell, one for Command Prompt, and one as admin. PowerShell is best for detailed system data and scripting. Command Prompt is best for simple checks that many admins still know by heart.
Honestly, it feels silly that checking a bad DNS setting through the GUI can take ten clicks. In Terminal, it takes one command.
First check: Is the network alive?
Start simple. Do not guess. Do not reboot everything yet.
- Check your IP address:
ipconfig /all - Test the router:
ping 192.168.1.1 - Test the internet by IP:
ping 8.8.8.8 - Test DNS:
ping microsoft.com
If the router replies but 8.8.8.8 fails, the issue may be the modem, ISP, firewall, or route. If 8.8.8.8 works but microsoft.com fails, DNS is the likely suspect.
In PowerShell, use a cleaner network test:
Test-NetConnection microsoft.com -Port 443
This checks the destination and the port. It is useful when a website loads for one user but not another. Port 443 is used for HTTPS. If the ping works but this fails, a firewall or proxy may be blocking web traffic.
Fix common IP and DNS problems
Bad IP leases are common. So are stale DNS records. They cause weird symptoms. A shared drive fails. Email works, but websites do not. A printer vanishes after lunch. Annoying, but often easy to test.
Run these in Command Prompt as needed:
ipconfig /releaseto drop the current IP lease.ipconfig /renewto request a fresh IP address.ipconfig /flushdnsto clear cached DNS results.
Then test again. If the issue vanishes after flushdns, the old DNS cache was probably pointing to the wrong place. It drives me crazy that such a tiny cache can waste half an hour, but it happens all the time.
Trace where the connection breaks
When a site or server fails, use route tools. They show where traffic stops.
- Command Prompt:
tracert example.com - PowerShell:
Test-NetConnection example.com -TraceRoute
If the trace stops inside your own network, check switches, Wi-Fi, VLANs, or firewall rules. If it stops far outside your office, the issue may be with the ISP or the remote service.
Check system health from PowerShell
Network trouble is not always network trouble. A PC with high CPU, broken services, or a full disk can act like the internet is slow.
Use these PowerShell commands:
Get-Process | Sort-Object CPU -Descending | Select-Object -First 10shows the top CPU users.Get-Service | Where-Object Status -eq "Stopped"lists stopped services.Get-Volumeshows drive space and file system details.Get-NetAdaptershows network adapter status.
Watch for simple clues. A disabled adapter is obvious. A nearly full C: drive is also bad news. Some apps behave badly when free space drops under 10%.
Check Windows files and disk errors
If the machine crashes, freezes, or behaves oddly after updates, check Windows system files.
sfc /scannow
Then use DISM if SFC reports issues it cannot fix:
DISM /Online /Cleanup-Image /RestoreHealth
Microsoft lists DISM as a tool for repairing Windows images [source: Microsoft]. After DISM finishes, run sfc /scannow again.
For disk checks, use:
chkdsk C: /scan
This online scan checks the drive while Windows is running. If deeper repairs are needed, Windows may ask for a restart.
Use Event Viewer data without opening Event Viewer
Event Viewer works, but it can feel heavy. PowerShell can pull recent errors faster.
Get-WinEvent -LogName System -MaxEvents 50 |
Where-Object {$_.LevelDisplayName -eq "Error"}
This shows recent system errors. Look for repeated items. One random error may not matter. Twenty storage, DNS, or service errors in one hour is a clue.
A simple troubleshooting order
- Check the adapter: Is Wi-Fi or Ethernet connected?
- Check the IP: Does the PC have a valid address?
- Check the gateway: Can you ping the router?
- Check DNS: Can names resolve?
- Check ports: Is the needed service reachable?
- Check system load: Is the PC too busy or low on space?
- Check logs: Are errors repeating?
Best habit: keep Command Prompt and PowerShell open side by side in Windows Terminal. Run quick checks in one tab. Run deeper PowerShell checks in another. Save the commands that fix real problems, because the same failures come back more often than anyone likes.