en-US/PSCompareHash-help.txt
.TOPIC
about_PSCompareHash .SHORT DESCRIPTION Provides functionality to generate and compare hashes for files and objects. .LONG DESCRIPTION The PSCompareHash module includes the following functions: - Test-FileHash: Calculates the hash of a specified file and compares it against a provided hash. - Get-ObjectHash: Generates a hash for any PowerShell object. .FUNCTIONS Test-FileHash Get-ObjectHash .EXAMPLES # Compare a file's hash Test-FileHash -FilePath "C:\path\to\file.txt" -ProvidedHash "yourProvidedHash" -Algorithm "SHA256" # Generate a hash for an object $hash = Get-ObjectHash -InputObject "Hello, World!" -Algorithm "SHA256" Write-Output $hash .NOTES Author: kalichuza Version: 1.1.0 .LINK https://github.com/Kalichuza/PSCompareHash |