PowerShell: Compare Files

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