TypeDetectionScheme Parameter (Connect-CSV Cmdlet)
Determines how to determine the data types of columns.
Syntax
Connect-CSV -TypeDetectionScheme string
Possible Values
None, RowScan, ColumnCountData Type
cstr
Default Value
"RowScan"
Remarks
None | Setting TypeDetectionScheme to None will return all columns as the string type. |
RowScan | Setting TypeDetectionScheme to RowScan will scan rows to heuristically determine the data type. The RowScanDepth determines the number of rows to be scanned. |
ColumnCount | Setting TypeDetectionScheme to ColumnCount will control the number of columns to detect and will return all columns as the string type. The ColumnCount property determines the number of columns. |