Forum Discussion

Mosh's avatar
Mosh
Icon for Professor rankProfessor
7 years ago
Solved

Need help with a GLOB expression

Hi,

I have the following group hierarchy:

Infrastructure Services/Primary/EMEA/Citrix
Infrastructure Services/Primary/EMEA/Network Services
Infrastructure Services/Primary/EMEA/Network Services/Routers
Infrastructure Services/Primary/EMEA/Network ServicesSwitches
Infrastructure Services/Primary/EMEA/Backups

In an inventory report I want to include all devices except devices under "Network Services".

I've tried numerous expressions and thought the following would be the one to go with:

Infrastructure Services/Primary/EMEA/!(Network Services)

But this still includes the devices in groups under Network Services. Any ideas?

 

  • @Mosh Try this: Infrastructure Services/Primary/EMEA/!(Network Services|Network Services/*)

    This should include all devices except those in the Network Services group and those in groups under Network Services

     

2 Replies

Replies have been turned off for this discussion
  • Sarah_Terry's avatar
    Sarah_Terry
    Icon for Product Manager rankProduct Manager

    @Mosh Try this: Infrastructure Services/Primary/EMEA/!(Network Services|Network Services/*)

    This should include all devices except those in the Network Services group and those in groups under Network Services