Two products, one name: which PowerShell you have
A shell is the program that runs your commands and shows the result, much as you might talk to the waiter rather than point at the menu. Microsoft makes two separate products with almost the same name.
Windows PowerShell ships inside Windows. Its latest version, 5.1, arrived in August 2016 with the Windows 10 Anniversary Update. It gets no new features, and its support is tied to your version of Windows.
PowerShell 7 is the one you install yourself. It works on Windows, macOS and Linux, and its program is called pwsh. As of November 2026, Microsoft’s lifecycle page lists 7.6 as the long-term support release, supported until 14 November 2028.
You need not choose yet: every command on this page works in the copy already on your PC.
Opening it, with no admin rights
Open the Start menu, type Windows PowerShell, select it, then choose Open. The line where the cursor waits, such as PS C:\Users\you>, is the prompt: PS marks PowerShell, then comes the folder you are standing in, and your command goes after the >.
Skip Run as administrator. Nothing on this page needs it, and less power means smaller slips. Leave the execution policy alone too, whatever some tutorials say. For Windows PowerShell 5.1, Microsoft says the default on Windows client computers, Restricted, still permits individual commands and blocks only script files.
Reading Verb-Noun names
PowerShell’s own commands are called cmdlets (“command-lets”), and each name is a verb, a dash and a singular noun. Microsoft says the verb identifies the action and the noun the thing acted on. The verb is a warning light as well: Get retrieves, Remove deletes. On a real PC, Get-Verb lists every approved verb.
A child item is anything inside a folder, the way a drawer can hold things and smaller drawers. These five come first:
| Full name | What it does | Short names (Windows) |
|---|---|---|
| Get-ChildItem | Lists what is in a folder | dir, ls, gci |
| Set-Location | Moves you into a folder | cd, chdir, sl |
| New-Item | Makes a file or folder | ni |
| Copy-Item | Copies a file or folder | copy, cp, cpi |
| Remove-Item | Deletes, skipping the Recycle Bin | rm, del, ri, erase, rd, rmdir |
Aliases: the short names
Aliases are nicknames that run a cmdlet. Microsoft added familiar ones for people who know Command Prompt or Unix, so on Windows both dir and ls run Get-ChildItem. Those aliases are Windows-specific: in PowerShell 7 on macOS or Linux, ls is not an alias, so the computer’s own ls program runs instead of Get-ChildItem.
Get-Alias ls reveals the cmdlet behind a nickname, in the box above and on a real PC. Use aliases at the prompt but full names in scripts: Microsoft says aliases make code harder to read.
Getting help from the shell itself
Nobody memorises every command. Microsoft’s PowerShell 101 book calls Get-Help, Get-Command and Get-Member the three core cmdlets. Four moves answer most questions:
help copyshows the help for Copy-Item a page at a time: Space for the next page, Q to quit.- On a real PC,
Get-Command -Noun Itemlists commands whose noun is Item, such as Copy-Item and Remove-Item. help Copy-Item -Onlineopens the newest version in your browser. Windows PowerShell 5.1 ships without its full help files, and Microsoft says downloading them in 5.1 needs an administrator window, so read online.-WhatIfmakes a command describe a change instead of making it. Afterrm notes.txt -WhatIf, the file is still there.
Safe habits from your first day
- Run
pwdanddirbefore changing anything. A path is a home address, and one wrong letter means the wrong house. - Rehearse risky commands with
-WhatIffirst. - Treat delete as final. Remove-Item, rm and del skip the Recycle Bin, so copy precious files first.
- Never paste a command you cannot explain, whether it came from a forum, a video or an AI chat. It runs as you, on your files.
- Leave admin windows, system settings and the execution policy alone while you learn.
- Press Ctrl+C to stop a command that keeps running.
Next steps: Levels 2 and 3
Level 2 of the free DayOneCode course practises pwd, dir and ls, cd, making, writing and reading files, and the Tab and arrow tricks. Level 3 adds copy, move, rename, careful deletes, aliases, error messages and stop signs, all in a pretend PowerShell with no account.
Shaky on paths? Start at Paths: every file has an address. For speed, play Command Racer.
Questions and answers
How can a beginner learn PowerShell?
Learn a few commands well before collecting more: pwd, dir, cd, copy, move, rm with -WhatIf, and help. Practise where a slip costs nothing, such as a pretend terminal or a test folder, and learn to look commands up rather than memorise them.
Is PowerShell easy to learn?
The start is gentle: commands are whole words, the names follow one Verb-Noun pattern, and help explains each one. Scripts that automate whole jobs take longer, as any programming does, but a dozen commands already let you move around, make, copy and delete.
How do I start PowerShell on Windows?
Open the Start menu, enter Windows PowerShell, select it and pick Open, not the administrator option. When a line starting with PS and ending with > appears, PowerShell is waiting for you; try pwd first.
Is PowerShell easier than Python?
They do different jobs. PowerShell shines at files, folders and Windows itself; Python is a general programming language for games, data and websites. Knowing a few commands helps either way, because a Python file is often run from a terminal with python hello.py.
Do I need PowerShell 7 to learn?
No. Windows PowerShell 5.1 comes with Windows and handles everything a beginner does. PowerShell 7 is a separate install that also runs on macOS and Linux and still gets new features; add it when a tool you use asks for it.
Can PowerShell damage my computer?
It can do whatever your account may do, including deleting files for good, since Remove-Item and its short names skip the Recycle Bin. Look first with dir, rehearse with -WhatIf and stay out of administrator windows. The practice terminal here is pretend, so it cannot harm anything.
Sources
The facts on this page were checked against these pages (14 November 2026):
- Microsoft Learn: What is Windows PowerShell?
- Microsoft Learn: PowerShell support lifecycle (7.6 LTS; Windows PowerShell 5.1 release)
- Microsoft Learn: Starting Windows PowerShell (Start menu; the pwsh program)
- Microsoft Learn: about_Prompts (what PS C:\> means)
- Microsoft Learn: about_Execution_Policies, 5.1 (Restricted permits individual commands)
- Microsoft Learn: Approved verbs for PowerShell commands (Verb-Noun names, Get-Verb)
- Microsoft Learn: Using aliases (Windows-only compatibility aliases, Get-Alias)
- Microsoft Learn: The Help system, PowerShell 101 (cmdlets, Verb-Noun, help paging, -Online, Update-Help, Ctrl+C)
- Microsoft Learn: Remove-Item (-WhatIf)
- Netwrix: files deleted with Remove-Item are not sent to the Recycle Bin
More guides
- Coding for kids
Free coding for kids from about 9: real commands in a pretend terminal, two kid guides, stars and certificates. No account, no ads in lessons, nothing to install.
- Coding for beginners
Coding for beginners in the order that works: files, paths and the terminal first, then Python, web pages, Git and AI agents. Free, in your browser, no install.
- Python for kids
Python for kids, free in your browser: first programs, loops and a Guess the Number game. No sign-up, nothing to install and never any ads.
- PowerShell cheat sheet
A printable PowerShell cheat sheet for beginners: the terminal commands a free course teaches, with CMD and Mac equivalents, key tricks, safe deletes and a Try button.
- The DayOneCode blog
Plain answers to the questions every new coder asks.