I have to compare two large files and return the difference of 2 files
$result= Compare-Object -ReferenceObject $(Get-Content D:\Scalability\misc\1.txt) -DifferenceObject $(Get-Content D:\Scalability\misc\1.txt) | Select -Property InputObject
$result.InputObject
above code working for the small file only and file size are 1GB