PowerShell: Compare Files (Show Difference)

By Xah Lee. Date: . Last updated: .

Compare Files

# compare if file f1 f2 are the same
diff (gc f1) (gc f2)

PowerShell. Working on Files