Delete Existing DB Connection

Delete Existing DB Connection

Method 1.

-----------------------------------------

In Powesershell (Admin)

Set-ConfigDBConnection -DBConnection $null

Set-AcctDBConnection -DBConnection $null

Set-AnalyticsDBConnection -DBConnection $null

Set-AppLibDBConnection -DBConnection $null

Set-OrchDBConnection -DBConnection $null

Set-TrustDBConnection -DBConnection $null

Set-HypDBConnection -DBConnection $null

Set-ProvDBConnection -DBConnection $null

Set-BrokerDBConnection -DBConnection $null

Set-EnvTestDBConnection -DBConnection $null

Set-SfDBConnection -DBConnection $null

Set-MonitorDBConnection -DataStore Monitor -DBConnection $null

Set-MonitorDBConnection -DBConnection $null

Set-LogDBConnection -DataStore Logging -DBConnection $null

Set-LogDBConnection -DBConnection $null

Set-AdminDBConnection -DBConnection $null -force



Method 2.

-----------------------------------------

In Powesershell (Admin)

Add-PSSnapin Citrix.*

Set-AcctDBConnection -DBConnection $null

Set-AnalyticsDBConnection -DBConnection $null

Set-AppLibDBConnection -DBConnection $null

Set-BrokerDBConnection -DBConnection $null

Set-EnvTestDBConnection -DBConnection $null

Set-HypDBConnection -DBConnection $null

Set-MonitorDBConnection -DataStore Monitor -DBConnection $null

Set-MonitorDBConnection -DBConnection $null

Set-OrchDBConnection -DBConnection $null

Set-ProvDBConnection -DBConnection $null

Set-SfDBConnection -DBConnection $null

Set-TrustDBConnection -DBConnection $null


Set-LogDBConnection -DataStore Logging -DBConnection $null -Force

Set-LogDBConnection -DBConnection $null -Force

Set-ConfigDBConnection -DBConnection $null -Force

Set-AdminDBConnection -DBConnection $null -Force 

No comments: