PowerShell Logo Small

Set-RDDatabaseConnectionString



This is the built-in help made by Microsoft for the command 'Set-RDDatabaseConnectionString', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Configures the database connection string for the SQL Server database used in high availability environments.

SYNTAX


Set-RDDatabaseConnectionString [-DatabaseConnectionString] <String> [[-ConnectionBroker] <String>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-RDDatabaseConnectionString cmdlet configures database connection settings for the SQL Server database used in high availability environments with multiple Remote
Desktop Connection Broker (RDConnection Broker) servers.


High availability supports multiple RD Connection Broker roles and servers, and uses SQL Server to store the configuration information for RD Connection Broker servers.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/?LinkId=294257

REMARKS

<

Examples


Example 1: Set a remote desktop database connection string

PS C:\> Set-RDDatabaseConnectionString -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"



This command sets the database connection string for the RD Connection Broker named Rdcb.Contoso.com.