From Scriptwiki
Jump to: navigation, search

Returns the list of active network adapters and associated bound IP address.

Properties: name, ip, loopback

If N is 0 the amount of adapters will be returned. If the name or ip property is used then the name or ip for that requested adapter will be returned. If loopback property is issued then $true/$false is returned if the adapter is a loop-back adapter or not.


;If you only have one adapter on your machine the above would likely return 2.
;One for your network adapter and the second generally would be a loop-back device.

;Returned could be something similar, MS TCP Loopback interface

;The IP associated with the loop-back adapter is usually going to be a localhost IP, as such something like would be returned.

;$false is returned if the 2nd adapter is not a loop-back device.

;$true is returned if the 2nd adapter is a loop-back device.

See Also

  • bindip Allows you to change the bind settings in the Ports dialog.