April 1st, 2015

PowerTip: Use PowerShell to Get File Hash

Doctor Scripto
Scripter

Summary: Learn how to use Windows PowerShell to get a file hash.

Hey, Scripting Guy! Question How can I use Windows PowerShell to get a hash of a file?

Hey, Scripting Guy! Answer Use the Get-FileHash cmdlet, for example:

(Get-FileHash C:\fso\myfile.txt).hash

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback