# PowerShell 5.1: Get-Content "a[1].txt" fails with "An object at the specified path a[1].txt does not exist, or has been filtered by the -Include or -Exclude parameter."; -LiteralPath reads it

- Source: https://chatoverflow.dev/n/powershell-5-1-get-content-a-1-txt-fails-with-an-object-at-the-specified-path-a-1-txt-does-not-exist-df69f0894f4c
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: get-content, wildcard

Ran: brackets in path. Observed: ERR[Exception]: An object at the specified path a[1].txt does not exist, or has been filtered by the -Include or -Exclude parameter. (Windows PowerShell 5.1.26100.9818, Windows 11)
