Skip to content

Fixes #5090 - Add Culture parameter to PowerShell 7 Select-String#5191

Merged
sdwheeler merged 1 commit intoMicrosoftDocs:stagingfrom
davidsmatlak:ds-issue5090
Dec 5, 2019
Merged

Fixes #5090 - Add Culture parameter to PowerShell 7 Select-String#5191
sdwheeler merged 1 commit intoMicrosoftDocs:stagingfrom
davidsmatlak:ds-issue5090

Conversation

@davidsmatlak
Copy link
Copy Markdown
Contributor

@davidsmatlak davidsmatlak commented Dec 4, 2019

PR Summary

Acrolinx scores:
Original version: 96
Updated version: 96

PR Context

Select the type(s) of documents being changed.

Cmdlet reference & about_ topics

  • Version 7 content
  • Version 6 content
  • Version 5.1 content

Conceptual articles

  • Fundamental conceptual articles
  • Script sample articles
  • DSC articles
  • Gallery articles
  • JEA articles
  • WMF articles
  • SDK articles

PR Checklist

  • I have read the contributors guide and followed the style and process guidelines
  • PR has a meaningful title
  • PR is targeted at the staging branch
  • All relevant versions updated
  • Includes content related to issues and PRs - see Closing issues using keywords.
  • This PR is ready to merge and is not Work in Progress
    • If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the
      title and remove the prefix when the PR is ready.

@opbld33
Copy link
Copy Markdown

opbld33 commented Dec 5, 2019

Docs Build status updates of commit babf991:

✅ Validation status: passed

File Status Preview URL Details
reference/7/Microsoft.PowerShell.Utility/Select-String.md ✅Succeeded View (powershell-7)

For more details, please refer to the build report.

Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@sdwheeler sdwheeler merged commit c5f4384 into MicrosoftDocs:staging Dec 5, 2019
The **Culture** parameter uses tab completion to scroll through the list of arguments that specify
the available cultures. To list all available arguments, use the following command:

`(Get-Command Select-String).Parameters.Culture.Attributes.ValidValues`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is important to add an information that it is not only culture strings like en-US but also special values like Ordinal, Invariant and Current.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iSazonov Can you open a new issue about this or, even better, submit a PR with the change you would like to see?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Culture parameter for Select-String cmdlet

4 participants