Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
91 lines (65 loc) · 1.64 KB

File metadata and controls

91 lines (65 loc) · 1.64 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

Diff-CSV

SYNOPSIS

PowerShell wrapper for diff-table.exe a tool to diff csv files

Script file

Binary wrapper\Diff-CSV.ps1

SYNTAX

Diff-CSV [-CSV1] <Object> [-CSV2] <Object> [-Key] <Object>

DESCRIPTION

PowerShell wrapper for diff-table.exe tool. Generates row/column wise diffs conmparing two .csv files This function requires diff-table.exe tool. https://github.com/chop-dbhi/diff-table Instructions:

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

Diff-CSV test1.csv test2.csv name


#Compares both files based on the "name" column as the primary key

PARAMETERS

-CSV1

Path to the first csv file to compare.

Type: Object
Parameter Sets: (All)
Aliases: 

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CSV2

Path to the second csv file to compare

Type: Object
Parameter Sets: (All)
Aliases: 

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Key

Primary key (column name) that is common in both csv files (can be a combination of multiple columns provided as a comma separted list)

Type: Object
Parameter Sets: (All)
Aliases: 

Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

OUTPUTS

NOTES

RELATED LINKS

https://github.com/chop-dbhi/diff-table

Morty Proxy This is a proxified and sanitized view of the page, visit original site.