UseRowNumbers Parameter (Connect-CSV Cmdlet)
Set this to true if you are deleting or updating in CSV and you do not want to specify a custom schema. This will create a new column with the name RowNumber which will be used as key for that table.
Syntax
Connect-CSV -UseRowNumbers SwitchParameter
Data Type
bool
Default Value
false
Remarks
Set this to true if you are deleting or updating in CSV and you do not want to specify a custom schema. This will create a new column with the name RowNumber which will be used as key for that table.