Skip to content

Conversation

@chasewilson
Copy link
Contributor

@chasewilson chasewilson commented Jan 26, 2021

PR Summary

Updates doc versions previous to 7.2 to note the PipelineVariable parameter behavior when used with advanced functions.

PR Context

Fixes #7171
Fixes AB#1810840

Select the area of the Table of Contents containing the documents being changed.

Conceptual content

  • Overview and Install
  • Learning PowerShell
    • PowerShell 101
    • Deep dives
    • Remoting
  • Release notes (What's New)
  • Windows PowerShell
    • WMF, ISE, release notes, etc.
  • DSC articles
  • Community resources
  • Sample scripts
  • Gallery articles
  • Scripting and development
    • Legacy SDK

Cmdlet reference & about_ topics

  • Preview content
  • Version 7.1 content
  • Version 7.0 content
  • Version 5.1 content

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.

@opbld30
Copy link

opbld30 commented Jan 26, 2021

Docs Build status updates of commit d974acf:

⚠️ Validation status: warnings

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md ⚠️Warning View (powershell-5.1) Details
reference/7.0/Microsoft.PowerShell.Core/About/about_CommonParameters.md ⚠️Warning View (powershell-7) Details
reference/7.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md ⚠️Warning View (powershell-7.1) Details
reference/docs-conceptual/developer/cmdlet/common-parameter-names.md ✅Succeeded View (>=powershell-5.1)

reference/5.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md

  • Line 375, Column 54: [Warning-file-not-found] Invalid file link: 'about_functions_advanced'.

reference/7.0/Microsoft.PowerShell.Core/About/about_CommonParameters.md

  • Line 375, Column 54: [Warning-file-not-found] Invalid file link: 'about_functions_advanced'.

reference/7.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md

  • Line 375, Column 54: [Warning-file-not-found] Invalid file link: 'about_functions_advanced'.

For more details, please refer to the build report.

If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

Copy link
Collaborator

@sdwheeler sdwheeler left a comment

Choose a reason for hiding this comment

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

See my suggested edits.

Comment on lines 374 to 377
>[!NOTE]
> When using the **PipelineVariable** parameter with [advanced functions](about_functions_advanced),
> it will only accept the first value from the function to the pipeline and any
> others will be ignored. The behavior is corrected in PowerShell 7.2
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
>[!NOTE]
> When using the **PipelineVariable** parameter with [advanced functions](about_functions_advanced),
> it will only accept the first value from the function to the pipeline and any
> others will be ignored. The behavior is corrected in PowerShell 7.2
>[!NOTE]
> When using the **PipelineVariable** parameter with [advanced functions](./about_functions_advanced.md),
> only the first value is assigned to the variable as values flow through the
> pipeline. PowerShell 7.2 corrects this behavior.

Comment on lines 374 to 378
>[!NOTE]
> When using the **PipelineVariable** parameter with [advanced functions](about_functions_advanced),
> it will only accept the first value from the function to the pipeline and any
> others will be ignored. The behavior is corrected in PowerShell 7.2

Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
>[!NOTE]
> When using the **PipelineVariable** parameter with [advanced functions](about_functions_advanced),
> it will only accept the first value from the function to the pipeline and any
> others will be ignored. The behavior is corrected in PowerShell 7.2
>[!NOTE]
> When using the **PipelineVariable** parameter with [advanced functions](./about_functions_advanced.md),
> only the first value is assigned to the variable as values flow through the
> pipeline. PowerShell 7.2 corrects this behavior.

Comment on lines 374 to 378
>[!NOTE]
> When using the **PipelineVariable** parameter with [advanced functions](about_functions_advanced),
> it will only accept the first value from the function to the pipeline and any
> others will be ignored. The behavior is corrected in PowerShell 7.2

Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
>[!NOTE]
> When using the **PipelineVariable** parameter with [advanced functions](about_functions_advanced),
> it will only accept the first value from the function to the pipeline and any
> others will be ignored. The behavior is corrected in PowerShell 7.2
>[!NOTE]
> When using the **PipelineVariable** parameter with [advanced functions](./about_functions_advanced.md),
> only the first value is assigned to the variable as values flow through the
> pipeline. PowerShell 7.2 corrects this behavior.

@opbld33
Copy link

opbld33 commented Jan 26, 2021

Docs Build status updates of commit b2382a8:

⚠️ Validation status: warnings

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md ⚠️Warning View (powershell-5.1) Details
reference/7.0/Microsoft.PowerShell.Core/About/about_CommonParameters.md ⚠️Warning View (powershell-7) Details
reference/7.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md ⚠️Warning View (powershell-7.1) Details
reference/docs-conceptual/developer/cmdlet/common-parameter-names.md ✅Succeeded View (>=powershell-5.1)

reference/5.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md

  • Line 375, Column 54: [Warning-file-not-found] Invalid file link: 'about_functions_advanced'.

reference/7.0/Microsoft.PowerShell.Core/About/about_CommonParameters.md

  • Line 375, Column 54: [Warning-file-not-found] Invalid file link: 'about_functions_advanced'.

reference/7.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md

  • Line 375, Column 54: [Warning-file-not-found] Invalid file link: 'about_functions_advanced'.

For more details, please refer to the build report.

If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

Co-authored-by: Sean Wheeler <sean.wheeler@microsoft.com>
@opbld31
Copy link

opbld31 commented Jan 26, 2021

Docs Build status updates of commit 7d5a153:

⚠️ Validation status: warnings

File Status Preview URL Details
reference/7.0/Microsoft.PowerShell.Core/About/about_CommonParameters.md ⚠️Warning View (powershell-7) Details
reference/7.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md ⚠️Warning View (powershell-7.1) Details
reference/5.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md ✅Succeeded View (powershell-5.1)
reference/docs-conceptual/developer/cmdlet/common-parameter-names.md ✅Succeeded View (>=powershell-5.1)

reference/7.0/Microsoft.PowerShell.Core/About/about_CommonParameters.md

  • Line 375, Column 54: [Warning-file-not-found] Invalid file link: 'about_functions_advanced'.

reference/7.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md

  • Line 375, Column 54: [Warning-file-not-found] Invalid file link: 'about_functions_advanced'.

For more details, please refer to the build report.

If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

@opbld30
Copy link

opbld30 commented Jan 26, 2021

Docs Build status updates of commit 593f01b:

✅ Validation status: passed

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md ✅Succeeded View (powershell-5.1)
reference/7.0/Microsoft.PowerShell.Core/About/about_CommonParameters.md ✅Succeeded View (powershell-7)
reference/7.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md ✅Succeeded View (powershell-7.1)
reference/docs-conceptual/developer/cmdlet/common-parameter-names.md ✅Succeeded View (>=powershell-5.1)

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@opbld33
Copy link

opbld33 commented Jan 26, 2021

Docs Build status updates of commit 73708f7:

✅ Validation status: passed

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md ✅Succeeded View (powershell-5.1)
reference/5.1/Microsoft.PowerShell.Host/Start-Transcript.md ✅Succeeded View (powershell-5.1)
reference/7.0/Microsoft.PowerShell.Core/About/about_CommonParameters.md ✅Succeeded View (powershell-7)
reference/7.0/Microsoft.PowerShell.Host/Start-Transcript.md ✅Succeeded View (powershell-7)
reference/7.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md ✅Succeeded View (powershell-7.1)
reference/7.1/Microsoft.PowerShell.Host/Start-Transcript.md ✅Succeeded View (powershell-7.1)
reference/7.2/Microsoft.PowerShell.Host/Start-Transcript.md ✅Succeeded View (powershell-7.2)
reference/docs-conceptual/developer/cmdlet/common-parameter-names.md ✅Succeeded View (>=powershell-5.1)

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@opbld30
Copy link

opbld30 commented Jan 26, 2021

Docs Build status updates of commit 924a964:

✅ Validation status: passed

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md ✅Succeeded View (powershell-5.1)
reference/7.0/Microsoft.PowerShell.Core/About/about_CommonParameters.md ✅Succeeded View (powershell-7)
reference/7.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md ✅Succeeded View (powershell-7.1)
reference/docs-conceptual/developer/cmdlet/common-parameter-names.md ✅Succeeded View (>=powershell-5.1)

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@opbld32
Copy link

opbld32 commented Jan 26, 2021

Docs Build status updates of commit 4c7f961:

✅ Validation status: passed

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md ✅Succeeded View (powershell-5.1)
reference/7.0/Microsoft.PowerShell.Core/About/about_CommonParameters.md ✅Succeeded View (powershell-7)
reference/7.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md ✅Succeeded View (powershell-7.1)
reference/docs-conceptual/developer/cmdlet/common-parameter-names.md ✅Succeeded View (>=powershell-5.1)

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@sdwheeler sdwheeler merged commit 1163c7d into MicrosoftDocs:staging Jan 26, 2021
@chasewilson chasewilson deleted the chasewilson-ghi7171 branch February 8, 2021 19:06
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.

Ensure -PipelineVariable is set for all output from script cmdlets

6 participants