Skip to content

Instantly share code, notes, and snippets.

<#
.SYNOPSIS
Compares two CSV files using a common field.
.DESCRIPTION
Compares two CSV files using an index, or common field to flag and find rows with that matching field instead of comparing the files row by row, sequentially.
This will typically be used with files that have matching syntax and output from the same application or service. The oldest version of the two files being compared
should be Csv1. The newest version of the files being compared should be Csv2.
.PARAMETER Csv1FilePath
@rkeithhill
rkeithhill / powershell.json
Last active February 23, 2024 23:18
PowerShell snippets file for Visual Studio Code - place in your ~\AppData\Roaming\Code\User\Snippets directory
{
"Condition statement": {
"prefix": "cond",
"body": [
"$1 { $0; break }"
],
"description": "Switch condition statement"
},
"Condition single quoted string statement": {
"prefix": "condsqstr",