Command Prompt & PowerShell

When you're ready to roll up your sleeves and get deep into your computer's capabilities, you want to learn about Command Prompt and PowerShell.

+ See More
Readers like you help support How-To Geek. When you make a purchase using links on our site, we may earn an affiliate commission. Read More.

latest

An image of PowerShell console on a desk with network hardware visible, running Test-Connection 8.8.8.8 -Count 10, showing ping response times to Google DNS server.
These 4 commands I run in PowerShell solve the Windows network problems I run into most

These four PowerShell commands help me quickly find connection problems, troubleshoot DNS, and fix common Windows networking issues.

By 
The Command Prompt open.
This forgotten Windows shortcut from the '90s replaces your worst terminal habit

This 30-year-old Windows trick still beats cycling through command history the hard way.

5
An image of PowerShell running on Windows 11 with Windows Search over the top of it.
Windows won't let you fix these 3 annoyances without PowerShell

Windows hides some annoying defaults beyond Settings, but a few simple PowerShell commands can fix them.

8
By 
Running ipconfig /all command in Windows PowerShell.
The Windows command line is hiding these 6 awesome network troubleshooting tools

Find out what's wrong with your network in a jiff with these PowerShell commands.

1
A photo showing a Windows desktop with various visual and functional customizations applied.
6 hidden customization settings Microsoft buried in Windows

The Windows Settings Personalization tab contains just a small fraction of the customization options available in Windows 11.

A powershell script running in Windows that closed all distracting apps and tweaked hosts file to add distracting websites.
I stopped paying for focus apps after writing this Windows PowerShell script

Turns out Windows already gives you all the tools you need to block distracting apps and websites—you just have to put them together.

5
Command Prompt open on Windows 11.
Microsoft's new Linux utilities for Windows are missing the point—here's why WSL wins

Maybe WSL did it better all along.

1
Running Windows and Linux commands together in WSL and PowerShell windows.
Windows Terminal's best features are hiding in these Linux-inspired customizations

Your favorite Linux terminal tweaks from Linux are availalble. You just have to know where to look.

3
Desktop monitor with Windows 11 wallpaper and a Windows PowerShell terminal window dropping down from the top.
These 5 PowerShell commands let me disable the annoying Windows features that aren't in Settings

Gone in seconds with the right PowerShell command.

4
Monitor showing i3 tiled terminal layout with xprop confirming window manager is i3.
Stop memorizing two sets of commands—these 7 work on Windows and Linux

Unleash the power of cross-platform command-line compatibility

Windows running on a tablet with the PowerShell open and a command asking Windows to make the user's life easier.
You’re wasting your time on Windows—these 3 PowerShell scripts save me hours every week

Stop doing manually what your PC has been able to automate since forever.

1
PowerShell logo over a script
I stopped avoiding PowerShell after these 3 Windows tweaks

They made using PowerShell effortless.

By 
PowerShell logo over a script
These 5 Windows PowerShell commands are so good, they feel like cheating

Stop retyping PowerShell commands, these 5 cmdlets do the work for you and will save you more time than you realize.

2
Ethernet cables plugged into a Ubiquiti Flex Mini managed network switch.
I use these 6 Windows networking commands every single day (and you should too)

Unleash the power of Windows (and WSL) networking from the terminal.

4
A powershell logo over an image of it in use.
PowerShell isn't scary—these everyday commands prove it

By the power of Redmond!

6
A Windows laptop placed on a wooden table.
Windows has built-in repair tools that work better than any paid optimizer

From broken updates to random slowdowns, these quick commands can bring your PC back to normal fast.

2
By 
PowerShell on Windows 11
5 PowerShell commands that fix Windows problems faster than any "PC optimizer" ever could

Special optimization apps promise to fix your PC, but you don't need them—PowerShell can do it better.

5
By 
Windows PowerShell.
PowerShell does 3 things Windows Settings simply can't, no matter how hard you try

PowerShell unlocks powerful Windows features you can’t access in Settings. Here are the ones actually worth using.

3
By 
An instance of DevToys displaying all the generators tools.
The $0 Windows "Swiss Army Knife" every developer should install today

A cheat code for dev tasks.

By 
A powershell logo over an image of it in use.
Windows 11's best productivity feature is the one nobody uses

Some of the best tools that Windows 11 has can feel a little intimidating and PowerShell is a great example of this.

1
See More