CmdID / PowerShell / Cmdlets / Set
Set-NetRoute
Modifies an entry or entries in 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 array of IP address families of IP routes.-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 an array of destination prefixes of IP routes.-IncludeAllCompartmentsIndicates that the cmdlet includes routes from all configured network compartments.-InputObjectSpecifies the input object that is used in a pipeline command.-InterfaceAlias, -ifAliasSpecifies an array of aliases of network interfaces.-InterfaceIndex, -ifIndexSpecifies an array of indexes of network interfaces.-NextHopSpecifies an array of next hop values.-PassThruReturns an object representing the item with which you are working.-PolicyStoreSpecifies a PolicyStore value.-PreferredLifetimeSpecifies a preferred lifetime, as a TimeSpan object, of an IP route.-ProtocolSpecifies an array of types of routing protocols.-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.