Share via


Get-FASTSearchMetadataCategory

Retrieves a crawled property category.

Syntax

Default (Default)

Get-FASTSearchMetadataCategory
    [[-Name] <String>]
    [<CommonParameters>]

Description

This cmdlet retrieves a category object from the installation. If no name is specified, it retrieves all categories in the system.

A category contains several crawled properties that are grouped together for setting properties that are common to them all.

For permissions and the most current information about FAST Search Server 2010 for SharePoint cmdlets, see the online documentation, (https://go.microsoft.com/fwlink/?LinkId=163227).

Examples

EXAMPLE 1

Get-FASTSearchMetadataCategory

This example returns all available categories. This is the default behavior if you do not specify any parameters.

EXAMPLE 2

Get-FASTSearchMetadataCategory -Name SharePoint

This example returns one specific category, the "SharePoint" category.

EXAMPLE 3

Get-FASTSearchMetadataCategory -Name m*

This example returns all categories with a name that begins with "m". Matching is case-insensitive.

EXAMPLE 4

$category = Get-FASTSearchMetadataCategory -Name &quot;Enterprise Crawler&quot;
$category.GetAllCrawledProperties()|ForEach-Object {$_.Name}

This example returns all crawled properties that are mapped to the category named "Enterprise Crawler". The example first retrieves the category, and then calls the category's GetAllCrawledProperties() function to list its crawled properties. It then iterates over the list of crawled properties and selects the name of each crawled property.

Parameters

-Name

Applicable: FAST Server for SharePoint 2010

The name of the category to retrieve. If no category is specified, all categories are returned.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:CategoryName, N

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.