Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
1 like 0 dislike
247 views
in SharePoint Server by 2 5 7
edited by

I have a SharePoint 2016 farm, this farm has multiple database servers and I want to get the database server that my configuration database hosted on it using PowerShell.

Which Database Servers hold the SharePoint configuration database on my farm using PowerShell??


1 Answer

3 like 0 dislike
by 54 119 241
selected by
 
Best answer

Which Database Servers hold the SharePoint configuration database on my farm?

You have two options to get the SharePoint Configuration Database Server

  1. Using PowerShell.
  2. Using Central Administration.

Get the SharePoint Configuration Database Server using PowerShell

(Get-SPDatabase | ?{$_.Type -eq “Configuration Database”}).server

Get the SharePoint Configuration Database Server using Central Administration

In "Manage Servers In this farm", Check "Configuration Database Server"

For more details, Please Check Get SharePoint Config Database Server via PowerShell and Get SharePoint Farm Build Version

by 2 5 7
0 0
thanks brother for these helpful details ,appreciated
If you don’t ask, the answer is always NO!
...