start with
http://www.microsoft.com/technet/scriptcenter/resources/wmifaq.mspx and
http://msdn.microsoft.com/en-us/library/aa394582(VS.85).aspxBut I cannot find how to access netstat data via WMI... Not sure it's possible, sorry but I'm still searching.
If it is really impossible - you have to run own process on the remote machine, read open ports and send the data to your app.