在 SharePoint Server 中檢視所有網站集合View all site collections in SharePoint Server

摘要: 如何查看 SharePoint Server 2016 和 SharePoint 2013 中的網站集合清單。Summary: How to see the list of site collections in SharePoint Server 2016 and SharePoint 2013.

網站集合是一組具有相同擁有人並共用管理設定 (例如權限) 及配額的網站。網站集合建立於 Web 應用程式內。建立網站集合時,會自動在網站集合中建立一個頂層網站。您之後可以在頂層網站下建立一或多個子網站。頂層網站及其所有子網站的整個結構,稱為網站集合。A site collection is a group of websites that have the same owner and share administrative settings, for example, permissions, and quotas. Site collections are created within a web application. When you create a site collection, a top-level site is automatically created in the site collection. You can then create one or more subsites below the top-level site. The entire structure of the top-level site and all its subsites is called a site collection.

檢視 Web 應用程式中的網站集合View the site collections in a web application

請使用下列程序檢視 Web 應用程式內的所有網站集合。Use the following procedures to view all the site collections in a web application.

使用管理中心檢視所有網站集合To view all site collections by using Central Administration

請參閱下表後面的步驟 3。Refer to the following table in step 3.

項目Item 描述Description
URLURL
網站集合的 URL。The URL of the site collection.
標題Title
網站集合的目前標題。The current title for site collection.
描述Description
網站集合的目前描述。The current description for the site collection.
主要管理員Primary administrator
網站集合的主要管理員。The primary administrator for the site collection.
電子郵件地址Email address
主要管理員的電子郵件地址。The email address for the primary administrator.
資料庫名稱Database name
網站集合使用的內容資料庫。The content database that is used by the site collection.
  1. 確認是否具備下列系統管理認證:Verify that you have the following administrative credentials:

    • 您必須是執行 SharePoint 管理中心網站之電腦的伺服器陣列管理員群組成員,才能檢視所有網站集合。To view all site collections, you must be a member of the Farm Administrators group on the computer that is running the SharePoint Central Administration website.
  2. 開啟管理中心。在 [應用程式管理]**** 頁面上,按一下 [網站集合]**** 區段中的 [檢視所有網站集合]*Open Central Administration. On the *Application Management page, in the Site Collections section, click View all site collections.

    [網站集合清單]**** 頁面會列出 Web 應用程式中所有的網站集合。The Site Collection List page lists all the site collections in the web application.

  3. 若要顯示網站集合的詳細資訊,請在 [URL]**** 欄中,按一下網站集合。To display more information about a site collection, in the URL column, click the site collection.

    此程序前面的表格會顯示在頁面右側。The table just before this procedure appears on the right side of the page.

  4. 若要變更選取的 Web 應用程式,請按一下 [Web 應用程式]**** 方塊,然後按一下 [變更 Web 應用程式]*。請使用 [選取 Web 應用程式]* 頁面,選取另一個 Web 應用程式。If you want to change the selected web application, click the Web Application box, and then click Change Web Application. Use the Select Web Application page to select another web application.

使用 Microsoft PowerShell 檢視所有網站集合To view all site collections by using Microsoft PowerShell

  1. 確認符合下列基本需求:請參閱<Add-SPShellAdmin>。Verify that you meet the following minimum requirements: See Add-SPShellAdmin.

  2. 啟動 SharePoint 管理命令介面Open SharePoint Management Shell.

  3. 在 PowerShell 命令提示字元處輸入下列命令,然後按 ENTER 鍵:At the PowerShell command prompt, type the following command, and then press ENTER:

    Get-SPWebApplication -Limit All | Get-SPSite | Format-Table -Property URL,ContentDatabase
    

    此命令會顯示伺服器陣列中所有 Web 應用程式的 URL,以及每個 Web 應用程式中所有網站集合的 URL。This command displays the URLs of all the web applications in a server farm and the site collections in each web application.

如需詳細資訊,請參閱 Get-SPWebApplicationGet-SPSite。建議您在執行命令列管理工作時使用 Windows PowerShell。Stsadm 命令列工具已過時,但為與舊版產品相容,仍會隨附提供。For more information, see Get-SPWebApplication and Get-SPSite. We recommend that you use Microsoft PowerShell when performing command-line administrative tasks. The Stsadm command-line tool has been deprecated, but is included to support compatibility with previous product versions.

另請參閱See also

其他資源Other Resources

在 SharePoint 管理中心管理網站集合和全域設定Manage site collections and global settings in the SharePoint admin center