Skip to content

Document -NoTypeInformation parameter as obsolete for Export-Csv and ConvertTo-Csv #12691

@yotsuda

Description

@yotsuda

Prerequisites

  • Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
  • Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Document new Get-Foo cmdlet" instead of "New cmdlet."

Summary

The -NoTypeInformation parameter of Export-Csv and ConvertTo-Csv cmdlets has been marked as obsolete.
The documentation needs to be updated to reflect this change.

Details

The -NoTypeInformation parameter is now obsolete and has no effect. The default behavior is to not include type information. Users should use -IncludeTypeInformation to include type information.

When -NoTypeInformation is used, a warning message is displayed:

Parameter 'NoTypeInformation' is obsolete. This parameter is obsolete and has no effect. The default behavior is to not include type information. Use -IncludeTypeInformation to include type information.

Articles

  • reference/7.6/Microsoft.PowerShell.Utility/Export-Csv.md
  • reference/7.6/Microsoft.PowerShell.Utility/ConvertTo-Csv.md

Related Source Pull Requests

Related Source Issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions