I think it’s because the IPV4 address property has multiple properties underneath it, however the way it’s displayed for output is only the IP address
So each ‘object’ has a IPV4 property, and that property has other properties, and your code is trying to see where the ipv4address property is like 10, and its not matching because you’re actually looking for a sub-property that is essentially being displayed to you when you run the command.
Take a look at a single object and actually look at the IPV4 property and i think it’ll expand out to much more data than just an address.
As for a fix, you can probably do something like this:
Get-NetIPConfiguration | Where-Object {$_.ipv4address.ipaddress -like '*10*'}
This basically just accesses the part you actually want to filter on, the IPaddress ‘sub-property’ and should return the entire objects in scope of that filter.