zettelkasten/OneNoteExport/Schnelle_Notizen/Neue Abschnittsgruppe/HOWTo's/40_SQl Instanz im SP ändern.md
2023-08-17 19:32:37 +02:00

576 B

SQl Instanz im SP ändern

Montag, 17. Juni 2019

09:27

 

To change the SQL Server instance pointer, run the following PowerShell script in an elevated SharePoint Management Shell window:

 

$SPDBs = Get-SPDatabase

ForEach ($DB in $SPDBs)

{

    $DB.ChangeDatabaseInstance('SPSQLRenamed')

}

 

To verify the change, run the following PowerShell cmdlet in an elevated SharePoint Management Shell window:

Get-SPDatabase | Select Name,Server

 

Aus <https://support.microsoft.com/en-us/help/4456879/change-the-database-server-in-a-sharepoint-farm>