CmdID

CmdID / PowerShell / Cmdlets / New

New-NetRoute

Creates a route in the IP routing table. Windows Server PowerShell reference

From the Windows Server PowerShell reference 16 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

16 in the Windows Server PowerShell reference
-AddressFamilySpecifies the IP address family.
-AsJobRuns the cmdlet as a background job.
-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-DestinationPrefixSpecifies a destination prefix of an IP route.
-InterfaceAlias, -ifAliasSpecifies the alias of a network interface.
-InterfaceIndex, -ifIndexSpecifies the index of a network interface.
-NextHopSpecifies the next hop for the IP route.
-PolicyStoreSpecifies the PolicyStore value.
-PreferredLifetimeSpecifies a preferred lifetime, as a TimeSpan object, of an IP route.
-ProtocolSpecifies the type of routing protocol.
-PublishSpecifies the publish setting of an IP route.
-RouteMetricSpecifies an integer route metric for an IP route.
-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.
-ValidLifetimeSpecifies a valid lifetime, as a TimeSpan object, for an IP route.
-WhatIf, -wiShows what would happen if the cmdlet runs.