Created
April 6, 2023 02:15
-
-
Save hgirish/c805261034871b667cced9aa23a642d5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# default SHA256 | |
(Get-FileHash -Path filepath).Hash -eq "SHA256Hash" | |
# MD5 Hash | |
(Get-FileHash -Path filepath -Algorithm MD5).Hash -eq "MD5hash" | |
# SHA512 Hash | |
(Get-FileHash -Path filepath -Algorithm MD5).Hash -eq "SHA512hash" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment