Skip to content

Instantly share code, notes, and snippets.

# a list of paths to retrieve files from
$paths = @(
'databak\DCIM'
'DCIM'
)
# a dictionary to store the hashes
$hashes = new-object 'System.Collections.Generic.Dictionary`2[string, System.Collections.Generic.List`1[System.IO.FileInfo]]'
# compute the hashes of all the files