Cmdlets for CSV

Build 24.0.9060

TrimSpaces Parameter (Connect-CSV Cmdlet)

Set to True if you want the provider to trim leading and trailing spaces in a cell containing a non-quoted value.

Syntax

Connect-CSV -TrimSpaces SwitchParameter

Data Type

bool

Default Value

false

Remarks

Set to True if you want the provider to trim leading and trailing spaces in a cell containing a non-quoted value. If set to False and the first character in a cell is not the quote character, the cell is treated as a literal non-quoted value.

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