# Get Hash of a File [https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-filehash?view=powershell-7.1](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-filehash?view=powershell-7.1) Get-FileHash -Path "FilePath" | FL To tell it what algorithm to use: -algorithm MD5 Example: Get-FileHash -Path 'C:\\accent\\support (1).exe' -Algorithm SHA1