Compartilhar via


Add-SCNetworkGateway

Add-SCNetworkGateway

Adds a network gateway.

Sintaxe

Parameter Set: ByModel
Add-SCNetworkGateway [-ConnectionString] <String> -Manufacturer <String> -Model <String> -Name <String> -RunAsAccount <RunAsAccount> [-Description <String> ] [-IPv4Address <String> ] [-IPv6Address <String> ] [-JobVariable <String> ] [-LogicalNetwork <LogicalNetwork> ] [-PROTipID <Guid]> ] [-RunAsynchronously] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: ByProvider
Add-SCNetworkGateway [-ConnectionString] <String> -ConfigurationProvider <ConfigurationProvider> -Name <String> -RunAsAccount <RunAsAccount> [-Description <String> ] [-IPv4Address <String> ] [-IPv6Address <String> ] [-JobVariable <String> ] [-LogicalNetwork <LogicalNetwork> ] [-PROTipID <Guid]> ] [-RunAsynchronously] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Descrição detalhada

The Add-SCNetworkGateway cmdlet adds a network gateway to VMM (Virtual Machine Manager).

Parâmetros

-ConfigurationProvider<ConfigurationProvider>

Specifies a configuration provider object. A configuration provider is a plug-in to VMM that translates VMM Usando o Windows PowerShell commands to API calls that are specific to a type of load balancer. If no configuration provider is specified, VMM uses the Manufacturer and Model information to choose an available configuration provider. If no configuration provider is found, the load balancer is not added.

Aliases

none

Necessário?

true

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-ConnectionString<String>

Specifies the information required to connect to the virtual switch extension manager.

Aliases

none

Necessário?

true

Posição?

1

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-Description<String>

Specifies a description for the specified object.

Aliases

none

Necessário?

false

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-IPv4Address<String>

Specifies an IPv4 address.

Aliases

none

Necessário?

false

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-IPv6Address<String>

Specifies an IPv6 address.

Aliases

none

Necessário?

false

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-JobVariable<String>

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

Aliases

none

Necessário?

false

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-LogicalNetwork<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.

Aliases

none

Necessário?

false

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-Manufacturer<String>

Specifies the name of the company that manufactured a physical device. Valid characters include:

-- letters (a-z)
-- numbers (0-9)
-- underscore (_)
-- hyphen(-)
-- dot(.)
-- single quote(')

Aliases

none

Necessário?

true

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-Model<String>

Specifies the model of a physical device.

Aliases

none

Necessário?

true

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-Name<String>

Specifies the name of a VMM object.

Aliases

none

Necessário?

true

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-PROTipID<Guid]>

Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

Aliases

none

Necessário?

false

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-RunAsAccount<RunAsAccount>

Specifies a Run As account that contains credentials with permission to perform this action.

Aliases

none

Necessário?

true

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

Aliases

none

Necessário?

false

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-VMMServer<ServerConnection>

Specifies a VMM server object.

Aliases

none

Necessário?

false

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

True (ByValue)

Aceitar caracteres curinga?

false

<CommonParameters>

Esse cmdlet dá suporte a parâmetros comuns: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Para obter mais informações, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

O tipo de entrada é o tipo dos objetos que você pode canalizar para o cmdlet.

Saídas

O tipo de saída é o tipo de objeto emitido pelo cmdlet.

Tópicos relacionados

Get-SCNetworkGateway

Read-SCNetworkGateway

Remove-SCNetworkGateway

Set-SCNetworkGateway

Test-SCNetworkGateway