SHA-256
Get-FileHash "C:\Downloads\setup.exe" -Algorithm SHA256Compare the Hash field with the publisher’s value. A matching hash confirms integrity relative to that reference.
Microsoft Learn · Get-FileHashTEKTEKResources by TUNGTEK
Check integrity, release source and signatures before using software. Combine checks to inform your assessment; no single check guarantees safety.
SHA-256 produces a 64-character hexadecimal value from file contents. Compare it with the publisher’s hash for the exact file to check whether the contents match.
Do not upload confidential files to another service merely to check them. This calculator neither sends files over the network nor executes them.
Files are read locally and are not sent to the server. The 128 MiB limit avoids excessive memory use; use PowerShell for large ISO images.
Obtain the hash for the exact file and version from an independent official source.
Replace the example path with your file’s path. Use this approach for ISO images or large files.
Get-FileHash "C:\Downloads\setup.exe" -Algorithm SHA256Compare the Hash field with the publisher’s value. A matching hash confirms integrity relative to that reference.
Microsoft Learn · Get-FileHashGet-AuthenticodeSignature "C:\Downloads\setup.exe"Inspect Status and SignerCertificate. Compare a Valid status and signer identity with the publisher; an unsigned file alone is not proof of malware.
Microsoft Learn · Get-AuthenticodeSignatureDefender interface and state depend on Windows version and management policy. A clean scan does not guarantee file safety.