RosettaCodeData/Task/SHA-256/PowerShell/sha-256.psh

3 lines
133 B
Plaintext

Set-Content -Value "Rosetta code" -Path C:\Colors\blue.txt -NoNewline -Force
Get-FileHash -Path C:\Colors\blue.txt -Algorithm SHA256