ColumnCount Parameter (Connect-CSV Cmdlet)
Specifies the number of columns that the provider detects when dynamically determining table columns.
Syntax
Connect-CSV -ColumnCount string
Data Type
cstr
Default Value
"10"
Remarks
This property applies when TypeDetectionScheme is set to ColumnCount.
The cmdlet uses this value to determine how many columns to generate when a schema definition file is not available, such as when using GenerateSchemaFiles.
This property is useful for controlling schema inference when the number of columns is known in advance but no schema definition exists.