Set-RDConnectionBrokerHighAvailability

Назначение: Windows 10, Windows Server Technical Preview

Set-RDConnectionBrokerHighAvailability

Sets high availability settings for RD Connection Broker servers for a Remote Desktop deployment.

Синтаксис

Parameter Set: Default
Set-RDConnectionBrokerHighAvailability [[-ConnectionBroker] <String> ] [-DatabaseConnectionString] <String> [-DatabaseFilePath] <String> [-ClientAccessName] <String> [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <CommonParameters>]

Подробное описание

The Set-RDConnectionBrokerHighAvailability cmdlet sets high availability settings for Remote Desktop Connection Broker (RD Connection Broker) servers for a Remote Desktop deployment. You can use the Get-RDConnectionBrokerHighAvailability cmdlet to see current settings.

Параметры

-ClientAccessName<String>

Specifies a Domain Name System (DNS) name for clients to use to connect to a Remote Desktop deployment. This is the DNS round robin name that contains fully qualified domain names (FQDNs) of the RD Connection Broker servers.

Псевдонимы

none

Обязательное поле?

true

Позиция?

4

Значение по умолчанию

none

Принимать входные данные конвейера?

false

Обрабатывать символы-шаблоны?

false

-ConnectionBroker<String>

Specifies the RD Connection Broker server for a Remote Desktop deployment. If you do not specify a value, the cmdlet uses the FQDN of the local computer.

Псевдонимы

none

Обязательное поле?

false

Позиция?

1

Значение по умолчанию

none

Принимать входные данные конвейера?

false

Обрабатывать символы-шаблоны?

false

-DatabaseConnectionString<String>

Specifies a connection string for the database that stores the high availability settings.

Псевдонимы

none

Обязательное поле?

true

Позиция?

2

Значение по умолчанию

none

Принимать входные данные конвейера?

false

Обрабатывать символы-шаблоны?

false

-DatabaseFilePath<String>

Specifies a path to the database supplied by the DatabaseConnectionString parameter.

Псевдонимы

none

Обязательное поле?

true

Позиция?

3

Значение по умолчанию

none

Принимать входные данные конвейера?

false

Обрабатывать символы-шаблоны?

false

-InformationAction<System.Management.Automation.ActionPreference>

Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:

-- SilentlyContinue
-- Stop
-- Continue
-- Inquire
-- Ignore
-- Suspend

Псевдонимы

infa

Обязательное поле?

false

Позиция?

named

Значение по умолчанию

none

Принимать входные данные конвейера?

false

Обрабатывать символы-шаблоны?

false

-InformationVariable<System.String>

Specifies a variable in which to store an information event message.

Псевдонимы

iv

Обязательное поле?

false

Позиция?

named

Значение по умолчанию

none

Принимать входные данные конвейера?

false

Обрабатывать символы-шаблоны?

false

<CommonParameters>

Этот командлет поддерживает общие параметры: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer и -OutVariable. Дополнительные сведения см. в разделе  about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Входы

Входной тип — это тип объектов, которые можно направить в командлет.

Выходные данные

Возвращаемый тип — это тип объектов, возвращаемых командлетом.

  • Null

Примеры

Example 1: Set high availability settings

This command sets high availability settings for an RD Connection Broker server named RDCB.Contoso.com. The command specifies a database connection string, and includes the path to the database. The command specifies the client access name as RemoteResources.Contoso.com.

PS C:\> Set-RDConnectionBrokerHighAvailability -ConnectionBroker "RDCB.Contoso.com" -DatabaseConnectionString "DRIVER=SQL Server Native Client 10.0;SERVER=sqlserver.contoso.com;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;Database=RemoteDesktopDeployment" -DatabaseFilePath "C:\RDFiles\RemoteDesktopDeployment.mdf" -ClientAccessName "RemoteResources.Contoso.com"

См. также

Get-RDConnectionBrokerHighAvailability