RowScanDepth Parameter (Connect-CSV Cmdlet)
The number of rows to scan when dynamically determining columns for the table.
Syntax
Connect-CSV -RowScanDepth string
Data Type
cstr
Default Value
"100"
Remarks
The number of rows to scan when dynamically determining columns for the table. Columns are dynamically determined when a schema (RSD) file is not available for the table, such as when using GenerateSchemaFiles.
Higher values will result in a longer request, but will be more accurate.
Setting this value to 0 (zero) will parse the entire CSV document.