Skip to content

Document behavior when -Skip is used with other parameters#12989

Merged
sdwheeler merged 2 commits into
MicrosoftDocs:mainfrom
sdwheeler:sdw-w543368-select
May 4, 2026
Merged

Document behavior when -Skip is used with other parameters#12989
sdwheeler merged 2 commits into
MicrosoftDocs:mainfrom
sdwheeler:sdw-w543368-select

Conversation

@sdwheeler
Copy link
Copy Markdown
Collaborator

@sdwheeler sdwheeler commented May 4, 2026

PR Summary

Document behavior when -Skip is used with other parameters

PR Checklist

  • Descriptive Title: This PR's title is a synopsis of the changes it proposes.
  • Summary: This PR's summary describes the scope and intent of the change.
  • Contributor's Guide: I have read the contributor's guide.
  • Style: This PR adheres to the style guide.

Copilot AI review requested due to automatic review settings May 4, 2026 14:02
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The 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 found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Select-Object reference pages to explain how -Skip interacts with other selection parameters across supported documentation versions. It touches the versioned cmdlet help pages in reference/*/Microsoft.PowerShell.Utility to keep the parameter descriptions aligned.

Changes:

  • Added -Skip interaction details to the -First parameter descriptions.
  • Added -Skip interaction details to the -Last and -Skip parameter descriptions.
  • Updated ms.date metadata on the affected Select-Object reference pages.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
reference/7.7/Microsoft.PowerShell.Utility/Select-Object.md Adds -Skip behavior notes for -First, -Last, and -Skip in the 7.7 docs.
reference/7.6/Microsoft.PowerShell.Utility/Select-Object.md Mirrors the same Select-Object parameter documentation updates for 7.6.
reference/7.5/Microsoft.PowerShell.Utility/Select-Object.md Mirrors the same Select-Object parameter documentation updates for 7.5.
reference/7.4/Microsoft.PowerShell.Utility/Select-Object.md Mirrors the same Select-Object parameter documentation updates for 7.4.
reference/5.1/Microsoft.PowerShell.Utility/Select-Object.md Applies the documentation updates to the 5.1 page and also changes page metadata/front matter.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread reference/5.1/Microsoft.PowerShell.Utility/Select-Object.md Outdated
Comment thread reference/5.1/Microsoft.PowerShell.Utility/Select-Object.md Outdated
Comment thread reference/5.1/Microsoft.PowerShell.Utility/Select-Object.md Outdated
Comment thread reference/7.4/Microsoft.PowerShell.Utility/Select-Object.md Outdated
Comment thread reference/7.4/Microsoft.PowerShell.Utility/Select-Object.md Outdated
Comment thread reference/7.5/Microsoft.PowerShell.Utility/Select-Object.md Outdated
Comment thread reference/7.6/Microsoft.PowerShell.Utility/Select-Object.md Outdated
Comment thread reference/7.6/Microsoft.PowerShell.Utility/Select-Object.md Outdated
Comment thread reference/7.7/Microsoft.PowerShell.Utility/Select-Object.md Outdated
Comment thread reference/7.7/Microsoft.PowerShell.Utility/Select-Object.md Outdated
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 7f844b7:

✅ Validation status: passed

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Utility/Select-Object.md ✅Succeeded View (powershell-5.1)
reference/7.4/Microsoft.PowerShell.Utility/Select-Object.md ✅Succeeded View (powershell-7.4)
reference/7.5/Microsoft.PowerShell.Utility/Select-Object.md ✅Succeeded View (powershell-7.5)
reference/7.6/Microsoft.PowerShell.Utility/Select-Object.md ✅Succeeded View (powershell-7.6)
reference/7.7/Microsoft.PowerShell.Utility/Select-Object.md ✅Succeeded View (powershell-7.7)

For more details, please refer to the build report.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The 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 found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit c1c5e60:

✅ Validation status: passed

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Utility/Select-Object.md ✅Succeeded View (powershell-5.1)
reference/7.4/Microsoft.PowerShell.Utility/Select-Object.md ✅Succeeded View (powershell-7.4)
reference/7.5/Microsoft.PowerShell.Utility/Select-Object.md ✅Succeeded View (powershell-7.5)
reference/7.6/Microsoft.PowerShell.Utility/Select-Object.md ✅Succeeded View (powershell-7.6)
reference/7.7/Microsoft.PowerShell.Utility/Select-Object.md ✅Succeeded View (powershell-7.7)

For more details, please refer to the build report.

@sdwheeler sdwheeler merged commit 4df6bc1 into MicrosoftDocs:main May 4, 2026
5 checks passed
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.

2 participants