Skip to content

Validation Logic Order Is Wrong, and negates -AllValid:$false #48

Description

@StartAutomating

Validation errors do not exist when -ErrorAction is set to ignore (#43 ). However, the way it is currently implemented returns $false, even if -AllValid is not set. This has the net effect of letting the first invalid [Validate] break, instead of continuing on to see if any are valid.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions