PSRule icon indicating copy to clipboard operation
PSRule copied to clipboard

AnyOf/ AllOf script block depreciation

Open BernieWhite opened this issue 1 year ago • 0 comments

Use of the AnyOf script block keywords doesn't fail fast. All instructions are executed which can lead to unexpected executions when they do not OR.

Also, script block keywords are duplicated with $Assert methods, which provide more flexibility and closer alignment with YAML/ JSON syntax.

BernieWhite avatar Sep 09 '24 18:09 BernieWhite