Skip to main content
    Step 1 of 5
    Windows Guides
    Intermediate

    PowerShell for Beginners: A Few Useful Commands Any Windows User Can Learn

    PowerShell is a powerful Windows tool for running commands. You do not need to be a programmer to use a handful of helpful commands for everyday tasks.

    4 min read 5 stepsApril 20, 2026Verified April 2026
    1

    Open PowerShell

    ~26s
    Click the Start button and type "PowerShell." Click "Windows PowerShell" from the results. For some commands, you need to open it as administrator — right-click "Windows PowerShell" and choose "Run as administrator." A blue or dark window with a blinking cursor appears. Type your command and press Enter to run it.

    Quick Tip

    Quick Tip: In Windows 11, PowerShell may be integrated into Windows Terminal. If you see "Terminal" instead of "PowerShell" in the Start menu, that is fine — it works the same way.

    2

    Check your battery and power status

    ~20s
    Type this command and press Enter: powercfg /batteryreport /output "C:attery-report.html" — This generates a detailed battery health report and saves it as a file on your C: drive. After running it, open File Explorer, go to your C: drive, and open the battery-report.html file in your web browser. It shows your battery's current health, charge history, and estimated lifespan.
    3

    See which programs start when Windows boots

    ~18s
    Type this command and press Enter: Get-CimInstance Win32_StartupCommand | Select-Object Name, Command | Format-Table — This lists all programs set to start automatically when Windows begins. If you see unfamiliar program names here, search for them online to find out what they do. Unwanted startup programs slow down boot time.
    4

    Find large files taking up space

    ~26s
    Type the following command and press Enter to see the 20 largest files in your Documents folder: Get-ChildItem -Path "$env:USERPROFILEDocuments" -Recurse | Sort-Object Length -Descending | Select-Object -First 20 Name, Length | Format-Table — This helps identify large files you may have forgotten about. You can change "Documents" to another folder name to search elsewhere.

    Warning

    Do not delete files from PowerShell results unless you are certain what they are. Use File Explorer to view and manage files more safely.

    5

    Restart your network adapter

    ~27s
    If your Wi-Fi or ethernet connection is acting up, run PowerShell as administrator and type: Restart-NetAdapter -Name "Wi-Fi" — Replace "Wi-Fi" with the exact name of your network adapter if it is different (run Get-NetAdapter to see the list of adapter names first). This restarts the network connection without restarting your whole computer, which fixes many connection glitches.

    Quick Tip

    Quick Tip: Microsoft's official PowerShell documentation is at learn.microsoft.com/powershell — it is written for all skill levels and includes explanations of every built-in command.

    You Did It!

    You've completed: PowerShell for Beginners: A Few Useful Commands Any Windows User Can Learn

    Need more help? Get Expert Help from a TekSure Tech

    PowerShell is a text-based tool built into Windows that lets you control your computer by typing commands. It looks like an old-fashioned program — a dark window with text — but it can do things that regular Windows apps cannot, and many useful tasks can be done with a single, short command.

    You do not need to be a programmer or IT professional to use PowerShell for basic tasks. A small number of commands cover most common use cases for everyday Windows users: checking battery life, seeing what programs start when your computer boots, finding large files, or restarting a frozen Wi-Fi connection.

    PowerShell is different from the older Command Prompt tool. While they look similar, PowerShell is more modern, more capable, and the direction Microsoft is taking for future Windows tools. Many of the commands that work in Command Prompt also work in PowerShell, so learning basic PowerShell is a good investment.

    Always type commands exactly as shown — spelling, capitalization, and spacing all matter. If a command does not work as expected, check that you have not accidentally included extra spaces or used the wrong type of quotation mark.

    One important safety note: never paste PowerShell commands from untrusted sources — a random website, a pop-up message, or an email. Malicious PowerShell commands can damage your system or steal data. Only use commands from trusted sources like Microsoft's official documentation, well-known technology publications, or guides from reputable sites.

    Was this guide helpful?

    Your feedback helps us make TekSure better for everyone.

    Want to rate with stars?

    Still have questions?

    Ask TekBrain a follow-up question about this guide. It’s free, no sign-up needed, and the answer will be in plain English.

    powershell
    windows commands
    PC tips
    command line
    windows tools

    Official Resources

    Sources used to create and verify this guide. View all sources →

    Still stuck? No problem.

    Sometimes a guide isn’t enough. Our technicians can walk you through it step by step, in plain English, on your schedule.

    PowerShell for Beginners: A Few Useful Commands Any Windows User Can Learn — Step-by-Step Guide | TekSure