PSRule
PSRule copied to clipboard
AnyOf/ AllOf script block depreciation
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.