Windows powershell – calculate hash

Certutil -hashfile <file> <hashAlg>