Advertisement
Guest User

Untitled

a guest
Jun 14th, 2018
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. $file1 = Get-Content Exact path to file
  2. $file2 = Get-Content Exact path to file
  3. Set-Content -Path results.csv -Value $file1[0]
  4. Compare-Object $file1 $ile2 | Where {$_.SideIndicator -eq '=>'} | ForEach-Object {$_.InputObject} | Add-Content results.csv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement