Skip to content
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 ForEach-Object doc to include new Parallel parameter set #4796

Merged
merged 2 commits into from
Sep 17, 2019

Conversation

PaulHigin
Copy link
Contributor

@PaulHigin PaulHigin commented Sep 16, 2019

Fixes #4590

Version(s) of document impacted

  • Impacts 7 document
  • Impacts 6 document
  • Impacts 5.1 document
  • Impacts 5.0 document
  • Impacts 4.0 document
  • Impacts 3.0 document

Reason(s) for not updating all version of documents

  • The documented feature was introduced in version (list version here) of PowerShell
  • This issue only shows up in version (list version(s) here) of the document
  • This PR partially fixes the issue, and issue # tracks the remaining work

@opbld33
Copy link

opbld33 commented Sep 16, 2019

Docs Build status updates of commit d554fcf:

✅ Validation status: passed

File Status Preview URL Details
reference/7/Microsoft.PowerShell.Core/ForEach-Object.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.

@opbld32
Copy link

opbld32 commented Sep 17, 2019

Docs Build status updates of commit 03f9874:

✅ Validation status: passed

File Status Preview URL Details
reference/7/Microsoft.PowerShell.Core/ForEach-Object.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.

available that runs each script block in parallel. There is a `-ThrottleLimit` parameter that
limits the number of parallel scripts running at a time. As before, use the `$_` variable to
represent the current input object in the script block. Use the `$using:` keyword to pass variable
references to the running script.
Copy link
Contributor

Choose a reason for hiding this comment

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

Below a note is about efficiency but here is more right place to say that it requires a lot of overhead. Perhaps a short quote from your blog post would be enough.

@sdwheeler sdwheeler merged commit e492f03 into MicrosoftDocs:staging Sep 17, 2019
@sdwheeler sdwheeler added this to the 7.0.0 milestone Sep 30, 2019
@PaulHigin PaulHigin deleted the update-foreach-parallel branch November 26, 2019 20:56
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.

Add documentation for new ForEach-Object -Parallel parameter set
5 participants