< Back
Set-RDConnectionBrokerHighAvailability
Post
NAME Set-RDConnectionBrokerHighAvailability
SYNOPSIS
Sets high availability settings for RD?? Connection Broker servers for a Remote Desktop deployment.
SYNTAX
Set-RDConnectionBrokerHighAvailability [[-ConnectionBroker] <String>] [-DatabaseConnectionString] <String> [[-DatabaseSecondaryConnectionString]
<String>] [[-DatabaseFilePath] <String>] [-ClientAccessName] <String> [<CommonParameters>]
DESCRIPTION
The Set-RDConnectionBrokerHighAvailability cmdlet sets high availability settings for Remote Desktop Connection Broker (RDConnection Broker)
servers for a Remote Desktop deployment. You can use the Get-RDConnectionBrokerHighAvailability cmdlet to see current settings.
PARAMETERS
-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 RDConnection Broker servers.
Required? true
Position? 5
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-ConnectionBroker [<String>]
Specifies the RDConnection Broker server for a Remote Desktop deployment. If you do not specify a value, the cmdlet uses the FQDN of the local
computer.
Required? false
Position? 1
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-DatabaseConnectionString <String>
Specifies a connection string for the database that stores the high availability settings.
Required? true
Position? 2
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-DatabaseFilePath [<String>]
Specifies a path to the database supplied by the DatabaseConnectionString parameter. This parameter is optional.
Required? false
Position? 4
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-DatabaseSecondaryConnectionString [<String>]
Specifies the secondary database connection string optionally used to support password expiration. This string is used when the high
availability configuration uses a shared database server (that is, where the method of authentication to the database server requires a user
name and password).
Required? false
Position? 3
Default value none
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Null
Example 1: Set high availability settings for a dedicated database server
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"
This command sets high availability settings for an RDConnection 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.
Example 2: Set high availability settings for a shared database server
PS C:\\>Set-RDConnectionBrokerHighAvailability -ConnectionBroker "RDCB.Contoso.com" -DatabaseConnectionString "Driver={SQL Server Native Client
11.0};Server= sqlserver.contoso.com;Database= RemoteDesktopDeployment;Uid=admin1@wxm56whnww;Pwd=Password!;Encrypt=yes;Connection Timeout=30;"
????????DatabaseSecondaryConnectionString "Driver={SQL Server Native Client 11.0};Server= sqlserver.contoso.com;Database=
RemoteDesktopDeployment;Uid=admin;Pwd=OtherPassword!;Encrypt=yes;Connection Timeout=30;"????????-ClientAccessName "RemoteResources.Contoso.com"
This command sets high availability settings for an RDConnection Broker server named RDCB.Contoso.com. The command specifies a database connection
string and a secondary connection string. The command specifies the client access name as RemoteResources.Contoso.com.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=294256
Get-RDConnectionBrokerHighAvailability
SYNOPSIS
Sets high availability settings for RD?? Connection Broker servers for a Remote Desktop deployment.
SYNTAX
Set-RDConnectionBrokerHighAvailability [[-ConnectionBroker] <String>] [-DatabaseConnectionString] <String> [[-DatabaseSecondaryConnectionString]
<String>] [[-DatabaseFilePath] <String>] [-ClientAccessName] <String> [<CommonParameters>]
DESCRIPTION
The Set-RDConnectionBrokerHighAvailability cmdlet sets high availability settings for Remote Desktop Connection Broker (RDConnection Broker)
servers for a Remote Desktop deployment. You can use the Get-RDConnectionBrokerHighAvailability cmdlet to see current settings.
PARAMETERS
-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 RDConnection Broker servers.
Required? true
Position? 5
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-ConnectionBroker [<String>]
Specifies the RDConnection Broker server for a Remote Desktop deployment. If you do not specify a value, the cmdlet uses the FQDN of the local
computer.
Required? false
Position? 1
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-DatabaseConnectionString <String>
Specifies a connection string for the database that stores the high availability settings.
Required? true
Position? 2
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-DatabaseFilePath [<String>]
Specifies a path to the database supplied by the DatabaseConnectionString parameter. This parameter is optional.
Required? false
Position? 4
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-DatabaseSecondaryConnectionString [<String>]
Specifies the secondary database connection string optionally used to support password expiration. This string is used when the high
availability configuration uses a shared database server (that is, where the method of authentication to the database server requires a user
name and password).
Required? false
Position? 3
Default value none
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Null
Example 1: Set high availability settings for a dedicated database server
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"
This command sets high availability settings for an RDConnection 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.
Example 2: Set high availability settings for a shared database server
PS C:\\>Set-RDConnectionBrokerHighAvailability -ConnectionBroker "RDCB.Contoso.com" -DatabaseConnectionString "Driver={SQL Server Native Client
11.0};Server= sqlserver.contoso.com;Database= RemoteDesktopDeployment;Uid=admin1@wxm56whnww;Pwd=Password!;Encrypt=yes;Connection Timeout=30;"
????????DatabaseSecondaryConnectionString "Driver={SQL Server Native Client 11.0};Server= sqlserver.contoso.com;Database=
RemoteDesktopDeployment;Uid=admin;Pwd=OtherPassword!;Encrypt=yes;Connection Timeout=30;"????????-ClientAccessName "RemoteResources.Contoso.com"
This command sets high availability settings for an RDConnection Broker server named RDCB.Contoso.com. The command specifies a database connection
string and a secondary connection string. The command specifies the client access name as RemoteResources.Contoso.com.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=294256
Get-RDConnectionBrokerHighAvailability