Diff with PowerShell

To compare the content of 2 files using PowerShell, similar to the diff command in Linux

Compare-Object -ReferenceObject (Get-Content $fileOne) -DifferenceObject (Get-Content $fileTwo)


Comments

Popular posts from this blog

Decoding OCSP GET requests

Signing a CSR with an Enrollment Agent certificate

Compacting an AD CS database