Skip to content

Instantly share code, notes, and snippets.

@RichardHan
Created March 14, 2018 14:37
Show Gist options
  • Save RichardHan/0e6a3b0dcb6648527a6b905969c21ef8 to your computer and use it in GitHub Desktop.
Save RichardHan/0e6a3b0dcb6648527a6b905969c21ef8 to your computer and use it in GitHub Desktop.
[Powershell] Get All Child item SHA1
$table = get-childitem -recurse | where {! $_.PSIsContainer}
foreach ($row in $table)
{
Get-FIleHash $row.FullName -Algorithm SHA1
}
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment