# Reading Files: Get-Content

Get-Content prints a text file's lines right in PowerShell, by its name or its path, more shows a long file one screen at a time, and edit opens a file you want to change.

![Cheat sheet for the lesson Reading Files: Get-Content: Get-Content prints a text file's lines right in PowerShell, by its name or its path, more shows a long file one screen at a time, and edit opens a file you want to change.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/998ab9be64774fc5ade0782e35b2b785.webp)

- Category: PowerShell
- Level: Novice
- Tags: File Extension, get-content, operating-system, powershell
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/powershell-reading-files-cheat-sheet
