Skip to content

PS7 - What is the purpose of the DelimiterPath parameter set in ConvertTo-Csv #10423

@sdwheeler

Description

@sdwheeler

Support Question

PS7 adds -QuoteFields and -UseQuotes parameters to ConvertTo-CSV but also adds a new parameter set: DelimiterPath.

DelimiterPath (Default)

ConvertTo-Csv [-InputObject] <PSObject> [-IncludeTypeInformation] [-NoTypeInformation]
 [-QuoteFields <String[]>] [-UseQuotes <QuoteKind>]  [<CommonParameters>]

Delimiter

ConvertTo-Csv [-InputObject] <PSObject> [[-Delimiter] <Char>] [-IncludeTypeInformation]
 [-NoTypeInformation] [-QuoteFields <String[]>] [-UseQuotes <QuoteKind>]  [<CommonParameters>]

UseCulture

ConvertTo-Csv [-InputObject] <PSObject> [-UseCulture] [-IncludeTypeInformation] [-NoTypeInformation]
 [-QuoteFields <String[]>] [-UseQuotes <QuoteKind>]  [<CommonParameters>]

What is the purpose of this parameter set? It looks like an error. The DelimiterPath parameter set does not contain any parameters that deal with paths or delimiters.

Official support

PowerShell Support Lifecycle

Community Resources

Slack and Discord Community Chat - Interactive chat with other PowerShell enthusiasts. Both Slack and Discord are bridged via a bot and can seamlessly talk to each other.
PowerShell.org Forum - Search or post new general PowerShell usage questions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions