Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

AddValidateNotNullOrEmpty attribute to the-Property ofFormat-Table/List/Custom#26552

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
daxian-dbw wants to merge1 commit intoPowerShell:master
base:master
Choose a base branch
Loading
fromdaxian-dbw:formatting

Conversation

@daxian-dbw
Copy link
Member

PR Summary

Fix#26543

Add theValidateNotNullOrEmpty attribute to the parameter-Property forFormat-Table,Format-List, andFormat-Custom.
This is to fix the null reference exception when using an empty array as the argument for-Property.

PR Checklist

@daxian-dbwdaxian-dbw added the CL-GeneralIndicates that a PR should be marked as a general cmdlet change in the Change Log labelDec 2, 2025
@microsoft-github-policy-servicemicrosoft-github-policy-servicebot added the Waiting on AuthorThe PR was reviewed and requires changes or comments from the author before being accept labelDec 5, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotAwaiting requested review from CopilotCopilot will automatically review once the pull request is marked ready for review

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

CL-GeneralIndicates that a PR should be marked as a general cmdlet change in the Change LogWaiting on AuthorThe PR was reviewed and requires changes or comments from the author before being accept

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Format-* cmdlets throw NullReferenceException when -Property is an empty array

1 participant

@daxian-dbw

[8]ページ先頭

©2009-2025 Movatter.jp