File checksum on Windows 10

Here is how to obtain the checksum of a file on Windows 10.

CertUtil -hashfile <filename.xyz> <hashalgorithm>

Hash algorithms: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512