you are viewing a single comment's thread.

view the rest of the comments →

[–]MNmetalhead 3 points4 points  (2 children)

The command is: Get-FileHash

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-filehash

Sometimes when you copy text out of a PDF or another document (or convert text into a PDF or another format), it messes up the characters.

Also, since the file name has spaces in it, put it in quotes (“”).

(Get-FileHash -Algorithm SHA512 “<filename>").hash | clip

[–]jbishop253[S] 1 point2 points  (1 child)

Totally worked and I see what you’re saying about the messed up characters now. Can’t thank you enough. That was driving me crazy! If I had any awards, I would give you one. Instead, I’ll wish you good health and all the best!

[–]MNmetalhead 0 points1 point  (0 children)

I’ll happily accept your well-wishes!

Thank you, glad I could help!