• 0
Mosh

Need help with a GLOB expression

Question

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?

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 1

@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

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.