Reference for Win32_IP4RouteTable
|
|
Category (Kategorie): Networking
Description (Beschreibung): The Win32_IP4RouteTable WMI class represents information that governs the routing of network data packets. For example, Internet packets are usually sent to a gateway and local packets are routed directly by the client's computer. Administrators can use this information to trace problems associated with misrouted packets, and also direct a computer to a new gateway as necessary. This class is only applicable to IP4 and does not address IPX or IP6. It is intended to model only the information shown as a result of typing the route print command from the command prompt. This class was added for Windows 2003 Server.
Availability (Verfügbarkeit): WMI Class Name | Windows Server 2003 | Windows XP Professional | Windows 2000 | Windows NT 4.0 | Windows 98 | Win32_IP4RouteTable | Yes | Yes | - | - | - |
Sample Code (Beispiel):
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_IP4RouteTable")
For Each objItem in colItems
Wscript.Echo "Caption: " & objItem.Caption
Next
Links:
Link zur Original-Microsoft-Dokumentation
www.IT-Visions.de, (C) Dr. Holger Schwichtenberg
|