MetadataDiscoveryURI Parameter (Connect-CSV Cmdlet)
Specifies the file that the provider uses to determine the schema when aggregating multiple files into a single result set.
Syntax
Connect-CSV -MetadataDiscoveryURI string
Data Type
cstr
Default Value
""
Remarks
This property applies when AggregateFiles is set to true. It defines which file the cmdlet reads to discover column names and data types for the aggregated table.
This property is useful when one file serves as the reference for schema discovery across multiple input files.