Using Windows PowerShell to Compute File Hash (Bonus: automatically compare it to a given value)

Learn to use Windows PowerShell to calculate hash checksum values, and automatically compare the output to a given value!

Being interested in security, you can’t help but hear about “hashing” and “file integrity”. I was aware that you can download third party software to calculate file hashes using different algorithms such as SHA256 and MD5, but I wasn’t aware you can do it in Windows PowerShell.

The coolest thing is how simple it is. Keep reading to learn how we do it!

Continue reading “Using Windows PowerShell to Compute File Hash (Bonus: automatically compare it to a given value)”