My PS7 script uses: $firstBytes = Get-Content $installerPath -Encoding ASCII -TotalCount 4 $magicHeader = $firstBytes -join ' 'if ($magicHeader -ne '77 90 144 0') {Write-Host "failed"; exit}I have also tried ASCII, UTF8 and Default for encodings, but...