Cmdlets for CSV

Build 24.0.9060

IncludeEmptyHeaders Parameter (Connect-CSV Cmdlet)

Whether to include empty value for a column name within column header.

Syntax

Connect-CSV -IncludeEmptyHeaders SwitchParameter

Data Type

bool

Default Value

false

Remarks

When this property is set to False, the cmdlet will not include columns which do not have a value within column header. When set to True, the cmdlet will derive column names from the column numbers. This will be only for columns without header value. If a column has a header value, it will remain the same.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060