I have used the below relevance to fetch Network Adapter Property
(description of it ) of adapters whose (address of it as string != “0.0.0.0”) of network
So,I’m able to get value for all the adapter such as Physical network adapter ,virtual network adapter and as well as juniper network adapter.But here my question is I’m only looking for Physical network adapter.
Can anyone please help me with the relevance expression which will fetch only physical network adapter value.
Thanks for your input jgstew I’m getting the physical network adapter for all the Endpoints but can you please help me with the code which will fetch the network adapter model for physical adapter.
(description of it ) of adapters whose (address of it as string != “0.0.0.0”) of network. Using this code I’m able get physical and virtual adapter model.Can we add some filter in this code which will bring only physical adapter model.
descriptions of adapters whose (address of it as string != "0.0.0.0" AND up of it AND not loopback of it) of network
Getting just the physical adapter is not as easy as it might require getting something that is OS specific to help filter the list, unless you can find a property of adapters that definitely signals that it is the physical adapter.
yes jgstew you are right,getting Physical adapter is quite difficult. Because as per my knowledge when we are installing a physical adapter of BASP then a virtual adapter will also get installed and we can use any of them to configure our IP.So,here we have to exclude the virtual machine which hold IP.