PowerTip: Use PowerShell to Display Routing

The Scripting Guys

Dr 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

The Scripting Guys
Dr Scripto

Follow Dr Scripto   

No Comments.