Get-SearchCatalog
Gets settings and status of all search catalogs or for a specified one.
Syntax
Get-SearchCatalog
[[-Catalog] <String>]
[<CommonParameters>]
Description
The Get-SearchCatalog
cmdlet gets settings and status of all search catalogs or for a specified one.
Examples
Example 1: Get settings for all search catalogs
Get-SearchCatalog
Catalog : SystemIndex
ConnectTimeout : 0
DataTimeout : 0
DiacriticSensitivity : False
Status : CATALOG_STATUS_PROCESSING_NOTIFICATIONS
PausedReason : CATALOG_PAUSED_REASON_NONE
ItemCount : 23930
ItemsToIndexCount : 0
NotificationQueueCount : 47
HighPriorityQueueCount : 0
PathBeingIndexed : file:C:/Users/Bob/Documents/foo.txt
While it is possible to create, manage, and query multiple catalogs, Windows Search currently uses only one catalog, which is named SystemIndex.
Example 2: Get settings for a specific catalog
Get-SearchCatalog -Catalog SystemIndex
Parameters
-Catalog
Specifies the name of the catalog to return information about. If omitted, settings and status of all search catalogs are returned.
Type | |
Position |
0 |
Default value |
None |
Accept pipeline input |
False |
Accept wildcard characters |
False |
Inputs
None
You can't pipe objects to this cmdlet.
Outputs
This cmdlet returns one or more SearchCatalogInfo objects.