PowerShell File Search

Search for files matching pattern in PowerShell

Tool
Get-ChildItem
Category
Post-Exploitation / File Search
Platform
windows
Requires
shell access

Open in Command Manager

Syntax

Angle-bracket tokens are placeholders — replace them with your target's values, or open this command in the app to fill them in and copy the result.

Get-ChildItem -Path C:\ -Include <file_pattern> -File -Recurse -ErrorAction SilentlyContinue

Examples

Get-ChildItem -Path C:\ -Include *.pdf -File -Recurse -ErrorAction SilentlyContinue

Tags

powershell search files