Read file contents in PowerShell
gc works everywhere and the cat alias exists on Windows only. -Tail N reads the last N lines, -Wait follows the file live.
Shell: PowerShell · Category: files · Risk level: safe
What you provide
- path — File path
The exact syntax, a worked example and the flag reference are behind sign-in.
This is a limited preview. The full walkthrough, command syntax and copy-ready examples are available to signed-in users.