Quantcast
Channel: Using and/or operators in powershell command - Stack Overflow
Browsing index pages (2 articles)

Using and/or operators in powershell command

I want this query to only return enabled users who have a name matching "marketing" or "accounting". However, when I run this it's returning disabled users as well? What am I missing? From my research...

View Article


Answer by Gabriel Luci for Using and/or operators in powershell command

In Boolean logic in general, AND takes precedence over OR. In other words, AND operations are evaluated first, before OR.So that command is really asking for accounts where either:The name contains...

View Article

Browsing index pages (2 articles)


Latest Images