-
-
Save bielawb/75f07ff9a2e524c3f870073256e7839e to your computer and use it in GitHub Desktop.
Compare results from ls run in two different drives (e.g. in order to perform the sync)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module HistoryPx | |
ls e:\ | |
ls f:\ | |
Get-History | |
# Output different than usual... Output looks interesting... | |
# CommandId match the line numbers... | |
diff (Get-History -Id 2).Output (Get-History -Id 3).Output -Property Name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment