CmdID / PowerShell / Cmdlets / Get
Get-NetRoute
Gets the IP route information from the IP routing table. Windows Server PowerShell reference
From the Windows Server PowerShell reference 19 parameters Its page in the reference
Parameters
Show its 19 parameters
-AddressFamilySpecifies an IP address family.-AsJobRuns the cmdlet as a background job.-AssociatedIPInterfaceSpecifies an IP interface as a CIM object.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-CompartmentIdSpecifies an array of identifiers for network compartments in the protocol stack.-DestinationPrefixSpecifies an array of destination prefixes of IP routes.-IncludeAllCompartmentsIndicates that the cmdlet includes routes from all configured network compartments.-InterfaceAlias, -ifAliasSpecifies an array of aliases of network interfaces.-InterfaceIndex, -ifIndexSpecifies an array of indexes of network interfaces.-InterfaceMetricSpecifies an array of integer interface metrics for network interfaces.-NextHopSpecifies an array of next hop values.-PolicyStoreSpecifies a PolicyStore value.-PreferredLifetimeSpecifies an array of values for preferred lifetime, as TimeSpan objects, of IP routes.-ProtocolSpecifies an array of types of routing protocols.-PublishSpecifies an array of publish settings of IP routes.-RouteMetricSpecifies an array of integer route metrics for IP routes.-StateSpecifies an array of state values for IP routes.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-ValidLifetimeSpecifies an array of values for valid lifetimes, as TimeSpan objects, for IP routes.