Checksums work like a fingerprint. It is used to verify file integrity. If the files have the same checksums, then they are identical. It can also be used to check if the file has been previously scanned as malicious.
certutil -hashfile <filepath> SHA256
Get-FileHash <filepath> -Algorithm SHA256