Skip to content

Instantly share code, notes, and snippets.

@socketbox
Created September 22, 2015 12:39
Show Gist options
  • Save socketbox/17a3e90e836f09d71f99 to your computer and use it in GitHub Desktop.
Save socketbox/17a3e90e836f09d71f99 to your computer and use it in GitHub Desktop.
Diff two directories on Windows Server with PowerShell
$fso = Get-ChildItem -Recurse -path C:\fso
$fsoBU = Get-ChildItem -Recurse -path C:\fso_BackUp
Compare-Object -ReferenceObject $fso -DifferenceObject $fsoBU
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment