Expand Minimize
This topic has not yet been rated - Rate this topic

Set-RDDatabaseConnectionString

Updated: September 14, 2012

Applies To: Windows Server 2012

Set-RDDatabaseConnectionString

Configures the database connection string to the SQL Server database that you have set up for high availability.

Syntax

Parameter Set: __AllParameterSets
Set-RDDatabaseConnectionString [-DatabaseConnectionString] <String> [[-ConnectionBroker] <String> ] [ <CommonParameters>]




Detailed Description

The Set-RDDatabaseConnectionString cmdlet takes string input to configures database connection settings for the SQL Server database that you have set up for high availability.

Parameters

-ConnectionBroker<String>

Specifies the Remote Desktop Connection Broker (RD Connection Broker) server for this remote desktop deployment. If not supplied, defaults to the fully qualified domain name (FQDN) of the local host.


Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-DatabaseConnectionString<String>

Specifies the database connection string. This parameter is required.


Aliases

none

Required?

true

Position?

1

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.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Null



    None.



Examples

Example 1:

Description


PS C:\> Set-RDDatabaseConnectionString -ConnectionBroker rdcb.contoso.com -DatabaseConncectionString "DRIVER=SQL Server Native Client 10.0;SERVER=sqlserver.contoso.com;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;Database=RemoteDesktopDeployment"

Example 2: Duplicate Example

Description


PS C:\> Set-RDDatabaseConnectionString -ConnectionBroker rdcb.contoso.com -DatabaseConncectionString "DRIVER=SQL Server Native Client 10.0;SERVER=sqlserver.contoso.com;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;Database=RemoteDesktopDeployment"

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.