Recursively identify files with TrID using PowerShell sending output to text file

PHOTO EMBED

Wed Jun 19 2024 08:32:13 GMT+0000 (Coordinated Universal Time)

Saved by @baamn

Foreach ($1 in gci -recurse -name C:\folders_to_scan\) {$1 = "C:\folders_to_scan\" + $1 ; C:\trid_path\trid.exe $1} >> trid_output.txt
content_copyCOPY

https://mark0.net/forum/index.php?topic