GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Document Invoke-Formatter confirmation parameters by Copilot · Pull Request #2232 · PowerShell/PSScriptAnalyzer

Conversation

Copilot AI commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

The CI help test failed because Invoke-Formatter exposes -Confirm and -WhatIf without documenting them.

  • Syntax: List both parameters in each syntax form.
  • Parameter help: Add descriptions and metadata for -Confirm and -WhatIf.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bergmeister
Document formatter confirmation parameters
21c6f23
Co-authored-by: bergmeister <[email protected]>
Copilot AI assigned Copilot and Christoph Bergmeister (bergmeister) Oct 22, 2026
@bergmeister
Christoph Bergmeister (bergmeister) added this pull request to stack #2233 October 22, 2026 23:15
Copilot created this pull request from a session on behalf of Christoph Bergmeister (bergmeister) October 22, 2026 23:15
View session
@bergmeister
Christoph Bergmeister (bergmeister) marked this pull request as ready for review October 22, 2026 23:16
@bergmeister
Christoph Bergmeister (bergmeister) requested review from a team and Mikey Lombardi (He/Him) (michaeltlombardi) as code owners October 22, 2026 23:16
Copilot AI balanced review requested due to automatic review settings October 22, 2026 23:16
Copilot started reviewing on behalf of Christoph Bergmeister (bergmeister) October 22, 2026 23:16
View session
@bergmeister
Christoph Bergmeister (bergmeister) removed this pull request from stack #2233 October 22, 2026 23:18
@bergmeister
Christoph Bergmeister (bergmeister) removed the request for review from Mikey Lombardi (He/Him) (michaeltlombardi) October 22, 2026 23:18
Copilot AI reviewed Oct 22, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

🟢 Approval recommended

The documentation-only change covers the exposed parameters, with only minor wording refinements remaining.

2 open issues
  • Low severity Clarify that -Confirm applies only to file writes · New
  • Low severity Clarify that -WhatIf suppresses writes but retains formatted output · New
What changed in this PR

Updates Invoke-Formatter help to document its existing confirmation parameters and address the reported CI help-test failure.

Changes:

  • Adds -WhatIf and -Confirm to both syntax forms.
  • Adds parameter descriptions and metadata for both switches.
File Description
docs/​Cmdlets/​Invoke-Formatter.md Documents confirmation switches in syntax and parameter help.

Review effort: Balanced

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread docs/Cmdlets/Invoke-Formatter.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread docs/Cmdlets/Invoke-Formatter.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@bergmeister
Christoph Bergmeister (bergmeister) marked this pull request as draft October 22, 2026 23:19
Copilot started work on behalf of Christoph Bergmeister (bergmeister) October 22, 2026 23:46
View session
@bergmeister
Handle pipeline binding help values in tests
d7380e4
Co-authored-by: bergmeister <[email protected]>
Copilot finished work on behalf of Christoph Bergmeister (bergmeister) October 22, 2026 23:50
Copilot AI requested a review from Christoph Bergmeister (bergmeister) October 22, 2026 23:50
@bergmeister
Christoph Bergmeister (bergmeister) marked this pull request as ready for review October 22, 2026 23:53
@bergmeister
Christoph Bergmeister (bergmeister) requested a balanced review from Copilot October 22, 2026 23:54
Copilot started reviewing on behalf of Christoph Bergmeister (bergmeister) October 22, 2026 23:55
View session
@bergmeister
Clarify -Confirm and -WhatIf parameter descriptions
f75c252
Updated descriptions for -Confirm and -WhatIf parameters to clarify their effects when using the Path and ScriptDefinition options.

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Copilot AI reviewed Oct 22, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The confirmation parameter descriptions need to distinguish suppressing file writes from running formatting and returning output.

No open issues 🎉

2 resolved since last review
  • Low severity Clarify that -WhatIf suppresses writes but retains formatted output
  • Low severity Clarify that -Confirm applies only to file writes

Review effort: Balanced

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bergmeister
Christoph Bergmeister (bergmeister) merged commit a69865a into copilot/add-path-parameter-to-invoke-formatter Oct 22, 2026
1 check passed

Uh oh!

There was an error while loading. Please reload this page.

@bergmeister
Christoph Bergmeister (bergmeister) deleted the copilot/fix-github-actions-job branch October 22, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@bergmeister Christoph Bergmeister (bergmeister) Awaiting requested review from bergmeister bergmeister is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@bergmeister Christoph Bergmeister (bergmeister)

Copilot code review Copilot

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@bergmeister
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.