

To make this more resilient against breakage from yet another future change in certutil, we should look for lines with non-hex characters to filter out. The extraneous spaces are gone too - one less thing to worry about when scripting. The certutil output seems to have changed since Windows 8, so my old filter to isolate the hash doesn't work anymore.

I am adding this here only because I didn't see any fully working powershell examples, ready for copy-paste: C:\> powershell "Get-FileHash %systemroot%\system32\csrss.exe"
