Get-Help
Read help for a command
Get-Help Get-ChildItem -Full
- Works on
- WindowsLinuxmacOS
- PowerShell
- 5.1 and later
- Reference
- Microsoft Learn: Get-Help
What you'll see
NAME
Get-ChildItem
SYNOPSIS
Gets the items and child items in one or more specified locations.
SYNTAX
Get-ChildItem [[-Path] <string[]>] [[-Filter] <string>] [-Include <string[]>]
[-Exclude <string[]>] [-Recurse] [-Depth <uint>] [-Force] [-Name] ...
(If you only see a short summary, run Update-Help once as administrator.)
The manual. -Examples is the useful switch. -Full is everything. -Online opens the Microsoft page.
Run Update-Help once in an elevated session so local help is not a stub.
Try this
Get-Help Get-ChildItem -Examples
Coming from another shell
| Shell | What you might type |
|---|---|
| bash / zsh | man ls |
| cmd.exe | help dir |
More in From bash and From cmd.