$game = "D:\Games\Zombie Andreas Complete Final"
Get-ChildItem $game -Recurse -File |
Where-Object {$_.Name -in @("gta_sa.exe", "zombie_andreas.exe", "script.scm", "main.scm")} |
ForEach-Object {
[PSCustomObject]@{
File = $_.FullName
Size = $_.Length
SHA256 = (Get-FileHash $_.FullName -Algorithm SHA256).Hash
}
} | Format-List