New-SCNetworkRoute

Creates a network route.

Syntax

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

Description

The New-SCNetworkRoute cmdlet creates a network route.

Parameters

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

Specifies a numerical metric associated with a network route.

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

Specifies a Virtual Machine Manager (VMM) server object.

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