Search found 3 matches

by raywood
2021-Dec-08, 10:06 pm
Forum: Windows CMD Shell
Topic: Seeking one-line output: filename plus hash
Replies: 4
Views: 3689

Re: Seeking one-line output: filename plus hash

OK. Here's what I've got so far:

Code: Select all

Get-FileHash -Algorithm SHA512 -Path (Get-ChildItem "D:\Current\*.*" -Force -Recurse) | Select-Object Hash,Path | Format-Table -Wrap -Autosize
For some reason, it's stating only the hash, not the path. What am I doing wrong?
by raywood
2021-Dec-07, 9:16 pm
Forum: Windows CMD Shell
Topic: Seeking one-line output: filename plus hash
Replies: 4
Views: 3689

Seeking one-line output: filename plus hash

I would like to compare files on two different computers using hashes, ideally SHA2-512. Lacking a tool for the specific purpose, I plan to perform this comparison in a spreadsheet. So: one spreadsheet tab for filename plus SHA 512 hash on computer A; another tab for filename plus SHA-512 hash on co...