From: Jim H. <ha...@us...> - 2003-01-23 19:59:30
|
Try "&(objectclass=msexchExchangeServer)(!(objectclass=msexchExchangeServerPolicy))" --Jim Harle On Thu, 23 Jan 2003, Paul Harwood wrote: > I am writing a script using the following LDAP search filter: > > > > > > filter => "(objectclass=msexchExchangeServer)", > > > > > > This works fine. > > > > I want to exclude the objectlass=msexchExchangeServerPolicy. I am trying > the following with no success: > > > > filter => > "(objectclass=msexchExchangeServer)(!objectclass=msexchExchangeServerPol > icy)", > > filter => > "(|(objectclass=msexchExchangeServer)(!objectclass=msexchExchangeServerP > olicy))", > > > > > > Any help is appreciated. > > > > --Paul > > |