Cmdlets for CSV

Build 25.0.9434

TrimSpaces Parameter (Connect-CSV Cmdlet)

Specifies how leading and trailing spaces in cell values are processed.

Syntax

Connect-CSV -TrimSpaces string

Possible Values

FALSE, TRUE, LEADING, TRAILING

Data Type

cstr

Default Value

"FALSE"

Remarks

Determines whether spaces at the beginning and/or end of cell values are retained or removed.

> > > >

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434