Remove-FASTSearchMetadataCategory

Removes a crawled property category from the installation.

Syntax

Remove-FASTSearchMetadataCategory
      [-Name] <String>
      [-Confirm]
      [-Force]
      [-WhatIf]
      [<CommonParameters>]
Remove-FASTSearchMetadataCategory
      -Category <Category>
      [-Confirm]
      [-Force]
      [-WhatIf]
      [<CommonParameters>]

Description

This cmdlet deletes a crawled property category from your installation. The cmdlet takes either the name of the category (Name parameter) or a category object (Category parameter).

All crawled properties mapped to this category are also removed. To avoid deleting crawled properties belonging to a category that you are about to remove, first map all crawled properties that you wish to save to a different property set using the Set-FASTSearchMetadataCrawledProperty cmdlet.

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----------------- (FAST Server for SharePoint 2010)

Remove-FASTSearchMetadataCategory -name SharePoint

This example deletes the category named "SharePoint". Confirmation of the operation is requested. All crawled properties mapped to the "SharePoint" category are also removed.

---------------EXAMPLE 2----------------- (FAST Server for SharePoint 2010)

C:\PS>$category = Get-FASTSearchMetadataCategory -name Office
Remove-FASTSearchMetadataCategory -category $category -force

This example deletes a crawled property category (stored as $category). Since Force is specified, confirmation of the operation is not required.

Parameters

-Category

A category object to be deleted.

Type:Category
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

-Confirm

Activates user prompting to confirm the operation. If set, prompting is activated.

If Confirm is false (-Confirm $false), confirmation prompting is not used.

In cases where Confirm is not specified, the cmdlet will prompt if the $ConfirmPreference shell variable is equal to or greater than the ConfirmImpact setting of the cmdlet (HIGH).

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

-Force

Overrides any user prompting settings, so that confirmation of the operation is not required.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

-Name

The name of the category to delete.

Type:String
Aliases:CategoryName, N
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

-WhatIf

Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010