# Get-Content

*noun*

say it: **“GET KON-tent”** **/ɡɛt ˈkɑntɛnt/**

The PowerShell command that prints a text file's lines right in the terminal, by the file's name or path.

## What is **Get-Content**?

`Get-Content` reads a file, one line at a time. `-Tail` shows the last lines; `-Wait` follows new lines.

```powershell
Get-Content .\shopping-list.txt
Get-Content .\app.log -Tail 20 -Wait
```

## In a sentence

- “I used **Get-Content** to read the project's README without opening another app.”
- “**Get-Content** printed the three lines of the itinerary.”

Level: Apprentice · [More PowerShell terms at this level](https://www.ask-codey.com/glossary?category=powershell&level=2)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/get-content
