Jeff MacKinnon's Homepage

Windows File Hashing

I have started hashing the official files that I issue to clients, but I keep forgetting how to do it with powershell, so this is for future me.

The way I do it is to navigate to the folder with the file(s) to hash and then use the command:

get-filehash "{filename}" | Out-File FileHash.txt

Then I have the filehash in the issued folder and can include it in the email to the client.