Element¶
SYNOPSIS¶
The current element of a primitive array inside Each. Pipe it to Must.
SYNTAX¶
Element [<CommonParameters>]
DESCRIPTION¶
Use Element when the array holds plain values, such as strings, rather than objects with fields. It also works in a field count's -Where.
USED IN¶
Each, AnyOf, AllOf, Count -Where
EXAMPLES¶
Example 1¶
Each permissions.keys[*] {
Element | Must -Not -Be 'purge'
}