New-SCNativeUplinkPortProfile
Creates a native uplink port profile.
Syntax
New-SCNativeUplinkPortProfile
[-LogicalNetworkDefinition <LogicalNetworkDefinition[]>]
[-VMMServer <ServerConnection>]
[-Name] <String>
[-Description <String>]
[-EnableNetworkVirtualization <Boolean>]
[-LBFOLoadBalancingAlgorithm <NetworkAdapterLBFOLoadBalancingAlgorithm>]
[-LBFOTeamMode <NetworkAdapterLBFOTeamMode>]
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[<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 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-EnableNetworkVirtualization
Indicates whether network virtualization is enabled. The default value is $False.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JobVariable
Specifies a variable in which job progress is tracked and stored.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Accepted values: | TransportPorts, IPAddresses, MacAddresses, HyperVPort, Dynamic, HostDefault |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LBFOTeamMode
Specifies a team mode for a load balancing and failover (LBFO) network adapter.
Type: | NetworkAdapterLBFOTeamMode |
Accepted values: | Static, SwitchIndependent, Lacp |
Position: | Named |
Default value: | None |
Required: | False |
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[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Specifies the name of a Virtual Machine Manager (VMM) object.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
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 |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VMMServer
Specifies a VMM server object.
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |