Dela via


Display the number of documents in a content collection by using Windows PowerShell (FAST Search Server 2010 for SharePoint)

 

Applies to: FAST Search Server 2010

This topic explains how to display the number of documents in a content collection in Microsoft FAST Search Server 2010 for SharePoint by using Windows PowerShell.

In this section:

  • Display the number of documents in a content collection by using Windows PowerShell

Display the number of documents in a content collection by using Windows PowerShell

  1. Verify that you meet the following minimum requirements: You are a member of the FASTSearchAdministrators local group on the computer where FAST Search Server 2010 for SharePoint is installed.

  2. On the Start menu, click All Programs.

  3. Click Microsoft FAST Search Server 2010 for SharePoint.

  4. Click Microsoft FAST Search Server 2010 for SharePoint shell.

  5. At the Windows PowerShell command prompt, type the following command(s):

    $collection = Get-FASTSearchContentCollection -Name "<CollectionName>"
    $collection.DocumentCount
    

    Where:

    • <CollectionName> is the name of the collection.

See also