Windows/TIPS/2つのフォルダ内を比較する - PowerShell - yanor.net/wiki
PS> $map1 = @{}; cd dir1; dir -r -file | % { $p = Resolve-Path -Relative $_.FullName; $map1[$p] = $_.Length }; cd .. PS> $map2 = @{}; cd dir2; dir -r -file | % { $p = Resolve-Path -Relative $_.FullName; $map2[$p] = $_.Length }; cd .. PS> $map1.Keys + $map2.Keys | ? { $map1[$_] -ne $map2[$_] } | ` ...
yanor.net