PowerTip: Use PowerShell to Display Routing

Doctor Scripto

Summary: Use Windows PowerShell to display networking routing information.

Hey, Scripting Guy! Question How can I use Windows PowerShell to display information about network connectivity issues related to
           the routing table on my server and permit me to sort the output?

Hey, Scripting Guy! Answer Use the Get-NetRoute Windows PowerShell function, and sort by interface index, nexthop, or other properties,
           for example:

Get-NetRoute | sort ifindex

0 comments

Discussion is closed.

Feedback usabilla icon