Get Configuration Database connection string from registry via PowerShell

(Get-Itemproperty "hklm:SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\Secure\ConfigDb").dsn > c:\ConfigDb.connectionString.txt

The command saves the connection string in a tekst file on your c-drive.

connectionstring

Hope it helps!

VN:F [1.9.22_1171]
Rating: 8.8/10 (5 votes cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)
Get Configuration Database connection string from registry via PowerShell, 8.8 out of 10 based on 5 ratings