Making a Hash-Match Of It In PowerShell

Hello!

In some scenarios it may be useful to compare two files thoroughly without having to go line by line. PowerShell has a super-useful cmdlet built-in called “Get-FileHash” that will create a hash from a file. It’s then easy enough to compare these and act accordingly.

Leave a Reply

Your email address will not be published. Required fields are marked *