Powershell toLower Get-FileHash

1.7k Views Asked by At

I have this command

    ... | select-object name, fullname, @{Name = "MD5"; Expression = { (Get-FileHash $_.FullName -Algorithm MD5).Hash } }

How do I properly toLower the MD5 Hash?

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-filehash?view=powershell-7.1

1

There are 1 best solutions below

0
Tony On BEST ANSWER

looks like ...Hash.ToLower() did the trick