CmdID / PowerShell / Cmdlets / Remove
Remove-NetRoute
Removes IP routes from the IP routing table. Windows Server PowerShell reference
From the Windows Server PowerShell reference 23 parameters Its page in the reference
Parameters
Show its 23 parameters
-AddressFamilySpecifies an array of IP address families of IP routes.-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.-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.-InterfaceMetricSpecifies an array of integer interface metrics for 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 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 lifetime, as a TimeSpan object, for IP routes.-WhatIf, -wiShows what would happen if the cmdlet runs.