New-SCNativeUplinkPortProfile
New-SCNativeUplinkPortProfile
Creates a native uplink port profile.
Syntax
Parameter Set: Default
New-SCNativeUplinkPortProfile [-Name] <String> [-Description <String> ] [-EnableNetworkVirtualization <Boolean]> ] [-JobVariable <String> ] [-LBFOLoadBalancingAlgorithm <NetworkAdapterLBFOLoadBalancingAlgorithm]> ] [-LBFOTeamMode <NetworkAdapterLBFOTeamMode]> ] [-LogicalNetworkDefinition <LogicalNetworkDefinition[]> ] [-PROTipID <Guid]> ] [-RunAsynchronously] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Detailed Description
The New-SCNativeUplinkPortProfile cmdlet creates a native uplink port profile object.
Parameters
-Description<String>
States a description for the specified object.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-EnableNetworkVirtualization<Boolean]>
Specifies whether network virtualization is enabled. The default value is $False.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-JobVariable<String>
Specifies that job progress is tracked and stored in the variable named by this parameter.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-LBFOLoadBalancingAlgorithm<NetworkAdapterLBFOLoadBalancingAlgorithm]>
Specifies a load balancing and failover (LBFO) network adapter load balancing algorithm. Valid values are:
-- TransortPorts
-- IPAddresses
-- MACAddresses
-- HyperVPort
-- Dynamic
-- HostDefault
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-LBFOTeamMode<NetworkAdapterLBFOTeamMode]>
Specifies a load balancing and failover (LBFO) network adapter team mode.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-LogicalNetworkDefinition<LogicalNetworkDefinition[]>
Specifies a logical network definition (also called a network site) that contains the subnet that the IP address pool serves as specified by the Subnet parameter.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
-Name<String>
Specifies the name of a VMM object.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-PROTipID<Guid]>
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
Aliases |
none |
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.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-VMMServer<ServerConnection>
Specifies a VMM server object.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example Example 1: Create a native uplink port profile by using a logical network definition.
The first command gets the logical network definition object named Logical Network Definition 01, and then stores the object in the $LogNetDefinition variable.
The second command creates a native uplink port profile named NativeUplinkPortProfile01 by using Logical Network Definition 01, and enables network virtualization.
PS C:\> $LogNetDefinition = Get-SCLogicalNetworkDefinition -Name "Logical Network Definition 01"
PS C:\> New-SCNativeUplinkPortProfile -Name "NativeUplinkPortProfile01" -LogicalNetworkDefinition $LogNetDefinition -EnableNetworkVirtualization $True