New-SCPhysicalComputerNetworkAdapterProfile

Creates a profile for network configuration applied to an operating system that is deployed to physical computer.

Syntax

New-SCPhysicalComputerNetworkAdapterProfile [-ConsistentDeviceName <String>] [-JobVariable <String>]
 [-PROTipID <Guid>] [-RunAsynchronously] [-SetAsManagementNIC] [-SetAsPhysicalNetworkAdapter]
 [-UseDhcpForIPConfiguration] [-VMMServer <ServerConnection>] [<CommonParameters>]
New-SCPhysicalComputerNetworkAdapterProfile [-ConsistentDeviceName <String>] [-JobVariable <String>]
 [-PROTipID <Guid>] [-RunAsynchronously] [-SetAsGenericNIC] [-SetAsPhysicalNetworkAdapter]
 [-UseDhcpForIPConfiguration] [-VMMServer <ServerConnection>] [<CommonParameters>]
New-SCPhysicalComputerNetworkAdapterProfile [-ConsistentDeviceName <String>] [-JobVariable <String>]
 -LogicalNetwork <LogicalNetwork> [-PROTipID <Guid>] [-RunAsynchronously] [-SetAsManagementNIC]
 [-SetAsPhysicalNetworkAdapter] [-UseStaticIPForIPConfiguration] [-VMMServer <ServerConnection>]
 [<CommonParameters>]
New-SCPhysicalComputerNetworkAdapterProfile [-ConsistentDeviceName <String>] [-JobVariable <String>]
 -LogicalSwitch <LogicalSwitch> [-PROTipID <Guid>] [-RunAsynchronously] [-SetAsPhysicalNetworkAdapter]
 -UplinkPortProfileSet <UplinkPortProfileSet> [-VMMServer <ServerConnection>] [<CommonParameters>]
New-SCPhysicalComputerNetworkAdapterProfile [-ConsistentDeviceName <String>] [-JobVariable <String>]
 -LogicalNetwork <LogicalNetwork> [-PROTipID <Guid>] [-RunAsynchronously] [-SetAsGenericNIC]
 [-SetAsPhysicalNetworkAdapter] [-UseStaticIPForIPConfiguration] [-VMMServer <ServerConnection>]
 [<CommonParameters>]
New-SCPhysicalComputerNetworkAdapterProfile [-JobVariable <String>] -LogicalSwitch <LogicalSwitch>
 [-PROTipID <Guid>] [-PortClassification <PortClassification>] [-RunAsynchronously] [-SetAsGenericNIC]
 [-SetAsVirtualNetworkAdapter] [-UseStaticIPForIPConfiguration] [-VMMServer <ServerConnection>]
 -VMNetwork <VMNetwork> [<CommonParameters>]
New-SCPhysicalComputerNetworkAdapterProfile [-JobVariable <String>] -LogicalSwitch <LogicalSwitch>
 [-PROTipID <Guid>] [-PortClassification <PortClassification>] [-RunAsynchronously] [-SetAsManagementNIC]
 [-SetAsVirtualNetworkAdapter] -TransientManagementNetworkAdapter <PhysicalComputerNetworkAdapterProfile>
 [-UseStaticIPForIPConfiguration] [-VMMServer <ServerConnection>] -VMNetwork <VMNetwork> [<CommonParameters>]
New-SCPhysicalComputerNetworkAdapterProfile [-JobVariable <String>] -LogicalSwitch <LogicalSwitch>
 [-PROTipID <Guid>] [-PortClassification <PortClassification>] [-RunAsynchronously] [-SetAsManagementNIC]
 [-SetAsVirtualNetworkAdapter] -TransientManagementNetworkAdapter <PhysicalComputerNetworkAdapterProfile>
 [-UseDhcpForIPConfiguration] [-VMMServer <ServerConnection>] -VMNetwork <VMNetwork> [<CommonParameters>]
New-SCPhysicalComputerNetworkAdapterProfile [-JobVariable <String>] -LogicalSwitch <LogicalSwitch>
 [-PROTipID <Guid>] [-PortClassification <PortClassification>] [-RunAsynchronously] [-SetAsGenericNIC]
 [-SetAsVirtualNetworkAdapter] [-UseDhcpForIPConfiguration] [-VMMServer <ServerConnection>]
 -VMNetwork <VMNetwork> [<CommonParameters>]

Description

The New-SCPhysicalComputerNetworkAdapterProfile cmdlet creates a profile for network configuration applied to an operating system that is deployed to physical computer.

Parameters

-ConsistentDeviceName

Specifies a consistent device name for a network adapter.

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

Specifies that job progress is tracked and stored in the variable named by this parameter.

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

Specifies a logical network. A logical network is a named grouping of IP subnets and VLANs that is used to organize and simplify network assignments.

Type:LogicalNetwork
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-LogicalSwitch

Specifies a logical switch object.

Type:LogicalSwitch
Required:True
Position:Named
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
-PortClassification

Specifies the port classification of the switch to which the virtual network adapter connects.

Type:PortClassification
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
-SetAsGenericNIC

Indicates that the network adapter is not the management network adapter for the host.

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

Indicates that the network adapter is the management network adapter for the host.

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

Indicates that the network adapter is a physical network adapter.

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

Indicates that the network adapter is a virtual network adapter.

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

Specifies the physical network adapter that the management virtual network adapter binds to during the initial operating system deployment phase. This property is used temporarily before the host is deployed.

Type:PhysicalComputerNetworkAdapterProfile
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UplinkPortProfileSet

Specifies an uplink port profile set object.

To obtain an uplink port profile set object, use the Get-SCUplinkPortProfileSet cmdlet.

Type:UplinkPortProfileSet
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UseDhcpForIPConfiguration

Indicates that the IP address for the network adapter is obtained by using DHCP.

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

Indicates that the network adapter is configured with a static IP address.

Type:SwitchParameter
Required:True
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
-VMNetwork

Specifies a VM network object.

To get a VM network object, use the Get-SCVMNetwork cmdlet.

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

Outputs

PhysicalComputerNetworkAdapterProfile

This cmdlet returns a **PhysicalComputerNetworkAdapterProfile** object.