Re: Feature Request - Show IP address in list view
For XP and 2K3 servers, there is a WMI class that can extract the information. The "Win32_PingStatus" class enumerates a myriad of information, and could be implemented to export the information you desire. Here's an example of the class and it's properties:
On Error Resume Next
Dim strComputer
Dim objWMIService
Dim colItems
strComputer = "."
Set objWMIService = GetObject("winmgmts:\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_PingStatus",,48)
For Each objItem in colItems
WScript.Echo "Address: " & objItem.Address
WScript.Echo "BufferSize: " & objItem.BufferSize
WScript.Echo "NoFragmentation: " & objItem.NoFragmentation
WScript.Echo "PrimaryAddressResolutionStatus: " & objItem.PrimaryAddressResolutionStatus
WScript.Echo "ProtocolAddress: " & objItem.ProtocolAddress
WScript.Echo "ProtocolAddressResolved: " & objItem.ProtocolAddressResolved
WScript.Echo "RecordRoute: " & objItem.RecordRoute
WScript.Echo "ReplyInconsistency: " & objItem.ReplyInconsistency
WScript.Echo "ReplySize: " & objItem.ReplySize
WScript.Echo "ResolveAddressNames: " & objItem.ResolveAddressNames
WScript.Echo "ResponseTime: " & objItem.ResponseTime
WScript.Echo "ResponseTimeToLive: " & objItem.ResponseTimeToLive
WScript.Echo "RouteRecord: " & objItem.RouteRecord
WScript.Echo "RouteRecordResolved: " & objItem.RouteRecordResolved
WScript.Echo "SourceRoute: " & objItem.SourceRoute
WScript.Echo "SourceRouteType: " & objItem.SourceRouteType
WScript.Echo "StatusCode: " & objItem.StatusCode
WScript.Echo "Timeout: " & objItem.Timeout
WScript.Echo "TimeStampRecord: " & objItem.TimeStampRecord
WScript.Echo "TimeStampRecordAddress: " & objItem.TimeStampRecordAddress
WScript.Echo "TimeStampRecordAddressResolved: " & objItem.TimeStampRecordAddressResolved
WScript.Echo "TimestampRoute: " & objItem.TimestampRoute
WScript.Echo "TimeToLive: " & objItem.TimeToLive
WScript.Echo "TypeofService: " & objItem.TypeofService
Next
Again, it's only available in XP and 2K3 servers.
Announcement
Collapse
No announcement yet.
Feature Request - Show IP address in list view
Collapse
X
-
Guest replied
-
Guest repliedRe: Feature Request - Show IP address in list view
Unfortunately this is not an option for that view as this data is not available to those functions.
Our 5.5 version has some powerful exporting functionality that will allow you to export this information to a file, then open it with Excel for sorting and manipulating.
Leave a comment:
-
Feature Request - Show IP address in list view
It would be nice to see the computer list with a column for IP address (sortable).
Roger
~~~~~~~~~~~~~~~~~~~~~ www.mycampsites.com
Camping & Recreation
Resources Since 2000
~~~~~~~~~~~~~~~~~~~~~Tags: None
Leave a comment: