From e9b5ce396130683c321adcc04e5feb7904201b6f Mon Sep 17 00:00:00 2001 From: NoPreserveRoot Date: Sat, 23 Oct 2021 01:14:35 -0400 Subject: [PATCH] get-filehash: add page (#7127) --- pages/windows/get-filehash.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/windows/get-filehash.md diff --git a/pages/windows/get-filehash.md b/pages/windows/get-filehash.md new file mode 100644 index 000000000..63c3f685f --- /dev/null +++ b/pages/windows/get-filehash.md @@ -0,0 +1,12 @@ +# Get-FileHash + +> Calculate a hash for a file. +> More information: . + +- Calculate a hash for a specified file using the SHA256 algorithm: + +`Get-FileHash {{path/to/file}}` + +- Calculate a hash for a specified file using a specified algorithm: + +`Get-FileHash {{path/to/file}} -Algorithm {{SHA1|SHA384|SHA256|SHA512|MD5}}`