brianashman
Technical User
Is there a way to write a WMI query such that it finds only the network adapters w/IP addresses that are not blank & TCP/IP is enabled? Since the IPAdrress is an Array of addresses, the following doesn't work:
select * from win32_Networkadapterconfiguration where IPEnabled=true and IPAddress<>''
I am hoping there is a way to represent an empty array in the query.
select * from win32_Networkadapterconfiguration where IPEnabled=true and IPAddress<>''
I am hoping there is a way to represent an empty array in the query.