Add-SCNetworkConnection

Adds a network service connection.

Syntax

Add-SCNetworkConnection [-Service] <NetworkService> [-ConnectionType <NetworkConnectionType>]
 [-Description <String>] [-IPv4Address <String>] [-IPv6Address <String>] [-JobVariable <String>]
 -LogicalNetworkDefinition <LogicalNetworkDefinition> -Name <String>
 [-NetworkAdapter <NetworkServiceAdapterInfo>] [-PROTipID <Guid>] [-RunAsynchronously]
 [-VMMServer <ServerConnection>] [<CommonParameters>]
Add-SCNetworkConnection [-Service] <NetworkService> [-ConnectionType <NetworkConnectionType>]
 [-Description <String>] [-IPv4Address <String>] [-IPv6Address <String>] [-JobVariable <String>] -Name <String>
 [-NetworkAdapter <NetworkServiceAdapterInfo>] [-PROTipID <Guid>] [-RunAsynchronously]
 [-VMMServer <ServerConnection>] -VMSubnet <VMSubnet> [<CommonParameters>]

Description

The Add-SCNetworkConnection cmdlet adds a network service connection.

Parameters

-ConnectionType

Specifies a network connection type. The acceptable values for this parameter are:

- Unknown

  • FrontEnd
  • BackEnd

Type:NetworkConnectionType
Parameter Sets:Unknown, FrontEnd, BackEnd
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Description

Specifies a description for the network connection.

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

Specifies an IPv4 address.

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

Specifies an IPv6 address.

Type:String
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
-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 VMSubnet parameter.

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

Specifies the name of a network object.

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

Specifies a network service adapter information object.

Type:NetworkServiceAdapterInfo
Required:False
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
-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
-Service

Specifies a network service object.

Type:NetworkService
Required:True
Position:0
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
-VMSubnet

Specifies a virtual machine subnet object.

To obtain a VMSubnet object, use the Get-SCVMSubnet cmdlet.

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