The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I modify the custom pattern file to specify/exclude specific IP segments from the collection

Masayuki Abe
Contributor
June 30, 2021

I want to specify/exclude a specific IP segment from the results of a system scan of a windows machine.

I copied Windows_NetworkInterfaces.pat and renamed it to Windows_NetworkInterfaces_custom.pat and made the following edits

I have specified the condition in the WMIQuery in the Command tag, but it results in an invalid query.

eg:192.168.0.0/24 only
SELECT * FROM Win32_NetworkAdapterConfiguration Where IPEnabled=true AND IPAddress LIKE '192.168.0.0%'

What's wrong?

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events