Comparing Directories

$my_dir = Get-ChildItem -Recurse -path X:\
$my_other_dir = Get-ChildItem -Recurse -path W:\
Compare-Object -ReferenceObject $my_dir -DifferenceObject $my_other_dir

Leave a Reply