Add-Type -TypeDefinition @"
public enum MyEnum{
Paper,
Rock,
Scisor
}
"@
[MyEnum]$abc = [MyEnum]::Rock
=
|
Equality
|
>=
|
Greater than or equal to (lexicographical)
|
<=
|
Less than or equal to (lexicographical)
|
&
|
AND, all conditions must be met
|
|
|
OR, any of the conditions must be met
|
!
|
NOT, the clause must evaluate to False
|