powershell - List file names in a folder matching a pattern, excluding file content - Stack Overflow

PHOTO EMBED

Tue Mar 30 2021 06:00:17 GMT+0000 (Coordinated Universal Time)

Saved by @Jazz

Get-ChildItem -Path $path -Recurse -Filter "*sample*"
content_copyCOPY

https://stackoverflow.com/questions/44825746/list-file-names-in-a-folder-matching-a-pattern-excluding-file-content