CreateBatchFolder Parameter (Connect-CSV Cmdlet)
Specifies whether the provider creates a folder for storing batch files when InsertMode is set to FilePerBatch.
Syntax
Connect-CSV -CreateBatchFolder bool
Data Type
bool
Default Value
true
Remarks
When this property is set to true, the cmdlet automatically creates a new folder to store the generated batch files.
When set to false, the files are written directly to the target directory.
This property is useful for organizing batch output files and preventing naming conflicts when inserting data in FilePerBatch mode.