I've bashed together a script that enumerates IP settings on either local or remote machines using WMI but I've come up against a small issue. I can only find how to retrieve 2 wins entries using WMI. However on the machines I'm querying there can be upto 4 entries.

I'm using Win32_NetworkAdapterConfiguration, WINSPrimaryServer & WINSSecondaryServer. Whereas with the DNS I'm able to use DNSServerSearchOrder to enumerate the whole list of entries.

So is there something similar for WINS? Or am I going to need to get this using some other method?

Cheers