How am I able to get the IP address of a Win NT 4.0 system? I have a custom analysis that has a property field labeled ‘IP Address’ with the relevance addresses of adapters of network. however, it will not retrieve the IP from a NT 4.0 system. However, if I run a report and select the built-in retrieved property ‘IP Address’ it shows up. What relevance is this using to get that information from a NT 4.0 system?
Well I figured I could write a custom report to get the information I needed, specifically the IP addresses from NT 4.0 systems calling a bes property. The below relevance works fine but it has the systems listed multiple times with the same information. Why would this be? Here is the custom code for the report.
Computer Name
Operating System
Number of Processors - Windows
Brand String of CPU - Windows
Total RAM
Computer Model - Windows
Free Space of Drives - Windows
Computer IP Address
<?relevance trs of (td of (concatenations ", " of values of results( bes property "Computer Name",computer of it))&td of (concatenations ", " of values of results( bes property "Operating System",computer of it))&td of (concatenations ", " of values of results( bes property "Number of Processors - Windows",computer of it))&td of (concatenations ", " of values of results( bes property "Brand String of CPU - Windows",computer of it))&td of (concatenations ", " of values of results( bes property "Total RAM",computer of it))&td of (concatenations ", " of values of results( bes property "Computer Model - Windows",computer of it))&td of (concatenations "%20%20%20" of values of results( bes property "Free Space of Drives - Windows",computer of it))&td of (concatenations ", " of values of results( bes property "IP Address",computer of it))) of results whose (exists computer of it AND exists name of computer of it AND exists last report time of computer of it AND exists results(bes property "Computer Name", computer of it) whose(not error flag of it)) of bes actions
?>
The “adapters of network” calls a different Windows API than “ip interfaces of network”. Generally the “adapters of network” gives you better information (like MAC Address), but it doesn’t work on early versions of Windows.