Skip to content

Conversation

@daxian-dbw
Copy link
Member

PR Summary

Fix #26543

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

PR Checklist

@daxian-dbw daxian-dbw added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Dec 2, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept

1 participant