New-SCNativeUplinkPortProfile

Creates a native uplink port profile.

Syntax

New-SCNativeUplinkPortProfile [-Name] <String> [-Description <String>] [-EnableNetworkVirtualization <Boolean>]
 [-JobVariable <String>] [-LBFOLoadBalancingAlgorithm <NetworkAdapterLBFOLoadBalancingAlgorithm>]
 [-LBFOTeamMode <NetworkAdapterLBFOTeamMode>] [-LogicalNetworkDefinition <LogicalNetworkDefinition[]>]
 [-PROTipID <Guid>] [-RunAsynchronously] [-VMMServer <ServerConnection>] [<CommonParameters>]

Description

The New-SCNativeUplinkPortProfile cmdlet creates an object for a native uplink port profile.

Examples

Example 1: Create a native uplink port profile by using a logical network definition

PS C:\> $LogNetDefinition = Get-SCLogicalNetworkDefinition -Name "Logical Network Definition 01"
PS C:\> New-SCNativeUplinkPortProfile -Name "NativeUplinkPortProfile01" -LogicalNetworkDefinition $LogNetDefinition -EnableNetworkVirtualization $True

The first command gets the logical network definition object named Logical Network Definition 01 and stores the object in the $LogNetDefinition variable.

The second command creates a native uplink port profile named NativeUplinkPortProfile01 by using the network definition object named Logical Network Definition 01, and enables network virtualization.

Parameters

-Description

Specifies a description for the port profile.

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

Indicates whether network virtualization is enabled. The default value is $False.

Type:Boolean
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-JobVariable

Specifies a variable in which job progress is tracked and stored.

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

Specifies a load balancing algorithm for a load balancing and failover (LBFO) network adapter. The acceptable values for this parameter are:

- TransortPorts

  • IPAddresses
  • MACAddresses
  • HyperVPort
  • Dynamic
  • HostDefault

Type:NetworkAdapterLBFOLoadBalancingAlgorithm
Parameter Sets:TransportPorts, IPAddresses, MacAddresses, HyperVPort, Dynamic, HostDefault
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-LBFOTeamMode

Specifies a team mode for a load balancing and failover (LBFO) network adapter.

Type:NetworkAdapterLBFOTeamMode
Parameter Sets:Static, SwitchIndependent, Lacp
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-LogicalNetworkDefinition

Specifies a logical network definition (also called a network site) that contains the subnet that the IP address pool serves. The subnet is specified by the Subnet parameter.

Type:LogicalNetworkDefinition[]
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name

Specifies the name of a Virtual Machine Manager (VMM) object.

Type:String
Required:True
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PROTipID

Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.

Type:Guid
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMMServer

Specifies a VMM server object.

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