Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $file1 = Get-Content Exact path to file
- $file2 = Get-Content Exact path to file
- Set-Content -Path results.csv -Value $file1[0]
- Compare-Object $file1 $ile2 | Where {$_.SideIndicator -eq '=>'} | ForEach-Object {$_.InputObject} | Add-Content results.csv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement