Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI Win32_IP4RouteTable QueryContent of WMI Win32_IP4RouteTable Query.vbsMD5 Hash: 334692A7D0BF287F19D6C83CAB432590 |
||
On Error Resume Next
strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_IP4RouteTable",,48) For Each objItem in colItems Wscript.Echo "Age: " & objItem.Age Wscript.Echo "Caption: " & objItem.Caption Wscript.Echo "Description: " & objItem.Description Wscript.Echo "Destination: " & objItem.Destination Wscript.Echo "Information: " & objItem.Information Wscript.Echo "InstallDate: " & objItem.InstallDate Wscript.Echo "InterfaceIndex: " & objItem.InterfaceIndex Wscript.Echo "Mask: " & objItem.Mask Wscript.Echo "Metric1: " & objItem.Metric1 Wscript.Echo "Metric2: " & objItem.Metric2 Wscript.Echo "Metric3: " & objItem.Metric3 Wscript.Echo "Metric4: " & objItem.Metric4 Wscript.Echo "Metric5: " & objItem.Metric5 Wscript.Echo "Name: " & objItem.Name Wscript.Echo "NextHop: " & objItem.NextHop Wscript.Echo "Protocol: " & objItem.Protocol Wscript.Echo "Status: " & objItem.Status Wscript.Echo "Type: " & objItem.Type Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |