Add -any and -all operator
Author: walid2mi2025-dotCreated Sep 25, 2026Updated Sep 28, 2026
LabelsIssue-EnhancementWG-LanguageNeeds-TriageWG-NeedsReview
Summary of the new feature / enhancement
Hello,
Please add this unary operator -any $list -all $list
Example:
$list = $true,$false,$true -all $list # false -any $list # true
Proposed technical implementation details (optional)
No response
Source: PowerShell/PowerShell