how many ors can i use?

If someone is interested, there are limits of 250 subfilters. I have set logging on server when command sended to exchange server will not be successfull, and got info :

   Call Site: SomeProject.PowerShell.Service.PowershellCommand`1.Execute
   Exception Type: 
   Exception Message: 
   Stack Trace: 
   Additional Info: Could not invoke command Get-Group, Details:
 The total number of explicit and implicit subfilters exceeds maximum allowed number of 250.  Processing stopped.

The content after “Details:” is message from remote exchange server

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top