-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Update CSV cmdlet -Delimiter parameter description
#12617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update CSV cmdlet -Delimiter parameter description
#12617
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This clarifies the deserialization behavior when the specified delimiter doesn't match the actual delimiter in the input data. Before this change, the verbiage for Import/ConvertFrom-Csv implied one or more strings would be returned, which isn't the case. This also adds the existing note regarding escaped special characters to all docs. Previously, this was only present in Import-Csv docs, but is applicable to/useful for all CSV cmdlets.
181f748 to
afa22b4
Compare
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
PR Summary
This PR clarifies the deserialization behavior when the specified delimiter doesn't match the actual delimiter in the input data. Before this change, the verbiage for
Import/ConvertFrom-Csv -Delimiterwas ambiguous, potentially suggesting output wouldn't be a custom object if the wrong delimiter is used.In addition, this adds a note regarding special character double-quoting to all docs. Previously, the note was only present in the
Import-Csvdocs, but it's applicable to/useful for all CSV cmdlet-Delimiterdescriptions.There are also minor style/formatting changes.
PR Context
This also applies to:
-Delimiterisn't specified and,isn't used in the input.-UseCultureis specified and the delimiter used in the input doesn't match the current culture's.PR Checklist