Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Masayuki Abe 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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events