$a = "value" if ($a -eq "value"){ Write-output "equal" } #expected output "equal"
Compare-Object -ReferenceObject $(Get-Content D: emp est est.txt) -DifferenceObject $(Get-Content D: emp est est1.txt)