Search notes:

PowerShell cmdLet get-fileHash

get-fileHash calculates a hash value for a file and returns a psObject with the following three members (Note Properties) whose type is string:
$hash = get-fileHash xyz.txt

$hash.algorithm
#
# SHA256

$hash.path
#
# C:\Users\rene\PowerShell\cmdlets\fileHash\get\xyz.txt

$hash.hash
#
# B1B113C6ED8AB3A14779F7C54179EAC2B87D39FCEBBF65A50556B8D68CAAA2FB
Github repository about-PowerShell, path: /cmdlets/fileHash/get/calculate-hash.ps1

Choosing the algorithm

The -algorithm option allows to choose from one of the following algorithms:

See also

Powershell command noun: fileHash

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1758209132, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/PowerShell/command-inventory/noun/fileHash/get(66): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78