Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Remove-RDDatabaseConnectionString

Last Updated: 3/8/2017

SYNOPSIS

Removes the secondary database connection string for the shared database server in a high availability environment configuration.

SYNTAX

DatabaseConnectionString

Remove-RDDatabaseConnectionString [-DatabaseConnectionString] [[-ConnectionBroker] <String>] [-Force]
 [<CommonParameters>]

DatabaseSecondaryConnectionString

Remove-RDDatabaseConnectionString [-DatabaseSecondaryConnectionString] [[-ConnectionBroker] <String>] [-Force]
 [<CommonParameters>]

DESCRIPTION

The Remove-RDDatabaseConnectionString cmdlet removes the secondary database connection string for the database server in a high availability environment with multiple Remote Desktop Connection Broker (RD Connection Broker) servers.

High availability supports multiple RD Connection Broker roles and servers, and uses a database server to store the configuration information for RD Connection Broker servers.

A secondary database connection string allows for connectivity in the case of an expired password for the primary database connection string. The secondary database connection string is optional. You can set this string by using the Set-RDDatabaseConnectionString cmdlet. You can remove the string by using the current cmdlet.

Currently, you cannot use this cmdlet to remove the primary database connection string.

EXAMPLES

1:

PARAMETERS

-ConnectionBroker

Specifies the RD Connection Broker server for a remote desktop deployment. If you do not supply a value, the cmdlet uses the fully qualified domain name (FQDN) of the local computer.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DatabaseConnectionString

This parameter is not currently supported.

Type: SwitchParameter
Parameter Sets: DatabaseConnectionString
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DatabaseSecondaryConnectionString

Indicates that this cmdlet removes the secondary database connection string.

Type: SwitchParameter
Parameter Sets: DatabaseSecondaryConnectionString
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Force

Forces the command to run without asking for user confirmation.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

Null

NOTES

Set-RDDatabaseConnectionString

© 2017 Microsoft