Compare MD5 Checksum of two files in Powershell

I was recently looking at comparing the MD5 checksum of two files using the  MD5CryptoServiceProvider class in Windows Powershell. Firstly, we will need to create the ‘System.Security.Cryptography.MD5CryptoServiceProvider’ object within our session and store this as a variable. $MD5 = New-Object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider Once the object has been created we can now compare the MD5 checksum … More Compare MD5 Checksum of two files in Powershell