Add-SCNetworkConnection

System Center 2012 R2

Add-SCNetworkConnection

Adds a network service connection.

Syntax

Parameter Set: AddNetworkServiceConnectionByLND
Add-SCNetworkConnection [-Service] <Microsoft.SystemCenter.VirtualMachineManager.NetworkService> -LogicalNetworkDefinition <Microsoft.SystemCenter.VirtualMachineManager.LogicalNetworkDefinition> -Name <System.String> [-ConnectionType <Microsoft.VirtualManager.Remoting.NetworkConnectionType> {Unknown | FrontEnd | BackEnd} ] [-Description <System.String> ] [-IPv4Address <System.String> ] [-IPv6Address <System.String> ] [-JobVariable <System.String> ] [-NetworkAdapter <Microsoft.VirtualManager.Remoting.NetworkServiceAdapterInfo> ] [-PROTipID <Nullable [System.Guid]> ] [-RunAsynchronously] [-VMMServer <Microsoft.SystemCenter.VirtualMachineManager.Remoting.ServerConnection> ] [ <CommonParameters>]

Parameter Set: AddNetworkServiceConnectionByVMSubnet
Add-SCNetworkConnection [-Service] <Microsoft.SystemCenter.VirtualMachineManager.NetworkService> -Name <System.String> -VMSubnet <Microsoft.SystemCenter.VirtualMachineManager.VMSubnet> [-ConnectionType <Microsoft.VirtualManager.Remoting.NetworkConnectionType> {Unknown | FrontEnd | BackEnd} ] [-Description <System.String> ] [-IPv4Address <System.String> ] [-IPv6Address <System.String> ] [-JobVariable <System.String> ] [-NetworkAdapter <Microsoft.VirtualManager.Remoting.NetworkServiceAdapterInfo> ] [-PROTipID <Nullable [System.Guid]> ] [-RunAsynchronously] [-VMMServer <Microsoft.SystemCenter.VirtualMachineManager.Remoting.ServerConnection> ] [ <CommonParameters>]




Detailed Description

The Add-SCNetworkConnection cmdlet adds a network service connection.

Parameters

-ConnectionType<Microsoft.VirtualManager.Remoting.NetworkConnectionType>

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Description<System.String>

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-IPv4Address<System.String>

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-IPv6Address<System.String>

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-JobVariable<System.String>

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-LogicalNetworkDefinition<Microsoft.SystemCenter.VirtualMachineManager.LogicalNetworkDefinition>

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<System.String>

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-NetworkAdapter<Microsoft.VirtualManager.Remoting.NetworkServiceAdapterInfo>

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PROTipID<Nullable [System.Guid]>

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-RunAsynchronously

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Service<Microsoft.SystemCenter.VirtualMachineManager.NetworkService>

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VMMServer<Microsoft.SystemCenter.VirtualMachineManager.Remoting.ServerConnection>

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByValue)

Accept Wildcard Characters?

false

-VMSubnet<Microsoft.SystemCenter.VirtualMachineManager.VMSubnet>

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (http://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.

Related topics

Community Additions

ADD
Show: