Find method of the MSFT_NetRoute class

Retrieves an IP route to the specified remote address.

Syntax

uint32 Find(
  [in]  uint32             InterfaceIndex,
  [in]  string             LocalIPAddress,
  [in]  string             RemoteIPAddress,
  [out] CIM_ManagedElement CmdletOutput[]
);

Parameters

InterfaceIndex [in]

The interface index of the route.

LocalIPAddress [in]

The local IP address of the route.

RemoteIPAddress [in]

The remote address of the route.

CmdletOutput [out]

The CIM_ManagedElement object that receives the route.

Requirements

Minimum supported client
Windows 8.1
Minimum supported server
Windows Server 2012 R2
Namespace
Root\standardcimv2
MOF
NetTCPIP.Mof
DLL
NetTCPIP.dll

See also

MSFT_NetRoute