zettelkasten/OneNoteExport/Kommunikationstechnologie/Sharepoint/HOWTo's/39_SQl Instanz im SP ändern.md
Ralf Koop 5a108aa2b4 .
2023-08-25 23:29:11 +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>