New-SCNetworkRoute

Creates a network route.

Syntax

New-SCNetworkRoute
   [-VMMServer <ServerConnection>]
   -DestinationPrefix <String>
   -NextHop <String>
   [-Metric <Int32>]
   [<CommonParameters>]

Description

The New-SCNetworkRoute cmdlet creates a network route.

Parameters

-DestinationPrefix

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Metric

Specifies a numerical metric associated with a network route.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-NextHop

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-VMMServer

Specifies a Virtual Machine Manager (VMM) server object.

Type:ServerConnection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False