COMMAND EVERYTHING.
Finds the best local IP address and the best route to reach a remote address.
Networking / Security · Risk: Low · Documentation VerifiedLast verified: 2026-10-26
Microsoft NetTCPIP reference: Finds the best local IP address and the best route to reach a remote address. The syntax and selected example below are adapted from the pinned Windows Server 2025 reference. Module availability, target configuration and delegated permissions determine whether it can run in your environment. Documentation and parameter text: Microsoft, CC BY 4.0; formatting adapted by Cmdlet World. No execution testing is claimed.
Find-NetRoute [-InterfaceIndex <UInt32>] [-LocalIPAddress <String>] -RemoteIPAddress <String>
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesUse an account with the target resource permissions documented for Find-NetRoute. Modifying administrative cmdlets may require elevation or delegated administration. This catalog does not assert that ordinary users can execute the command.
Windows / NetTCPIP · Windows Server 2025 documentation; feature/module prerequisites apply
-AsJob-CimSession-InterfaceIndex-LocalIPAddress-RemoteIPAddress (required)-ThrottleLimitWindows with the NetTCPIP module and the Windows feature or management tools that provide it. Confirm target connectivity and version compatibility using the linked Microsoft reference.
This is a read-oriented cmdlet; protect any sensitive results and check the documented effects of your selected parameters.
Find-NetRoute -RemoteIPAddress "10.79.197.200"This command finds a NetIPAddress object and NetRoute object to use to access the IP address 10.79.197.200. The command returns two objects. The first object is the local IP address. The second object is the local route that includes the selected connectivity path and next hop. Source: Microsoft, CC BY 4.0; transcript prompt/output removed. This example was not executed.
https://learn.microsoft.com/powershell/module/nettcpip/find-netroute?view=windowsserver2025-ps
Sign in to keep your own command reference lists.
Explain or customize this command with AI