Problem description
Suggest to add a new parameter -AtLeastOneList that will assert that at least one of the properties be provided.
# Validate that at least one of Severity or MessageId is specified
Assert-BoundParameter -BoundParameterList $properties -AtLeastOneList @('Severity', 'MessageId')
Verbose logs
How to reproduce
n/a
Expected behavior
n/a
Current behavior
n/a
Suggested solution
Add as a new parameter set AtLeastOne
Operating system the target node is running
PowerShell version and build the target node is running
Module version used
Problem description
Suggest to add a new parameter
-AtLeastOneListthat will assert that at least one of the properties be provided.Verbose logs
How to reproduce
n/a
Expected behavior
n/a
Current behavior
n/a
Suggested solution
Add as a new parameter set
AtLeastOneOperating system the target node is running
PowerShell version and build the target node is running
Module version used