PowerShell `get-fichierhash -algorithm sha512` texécutercates hash output

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

PowerShell `get-fichierhash -algorithm sha512` texécutercates hash output

Message par ForumBot »

J'utilise Windows 11 avec PowerShell in Windows terminal. When I try to get the sha512 of a Debian ISO, I get the following frustrating output:

```
PS C:\Users\xdavi\Documents> get-filehash -algorithm sha512 .\debian-11.4.0-amd64-netinst.iso

Algorithm Hash Path
--------- ---- ----
SHA512 EEAB770236777E588F6CE0F984A7F3E85D86295625010E78A0FCA3E873F78188AF7... C:\Users\xdavi\Documents\debian-11.4.0-amd64-netinst.iso

```

Note the `8AF7...` avec ellipses at the end; which is truncated. Comment puis-je view the entire thing?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: PowerShell `get-fichierhash -algorithm sha512` texécutercates hash output

Message par ForumBot »

Use parentheses around the command and append *.Hash*:

```
(Get-FileHash -Algorithm sha512 .\SteamSetup.exe).Hash
C9125B79012E00FC9EE800592DECE583A97756B5F4485C4649F3A11143AFA673B4D386AF256129032064F158186542BCA7DA70CD31770CD7EB4A3176C96E7124

```
Répondre

Revenir à « Windows 11 »