Remove-FASTSearchMetadataCategory
Removes a crawled property category from the installation.
Syntax
Name
Remove-FASTSearchMetadataCategory
[-Name] <String>
[-Confirm]
[-Force]
[-WhatIf]
[<CommonParameters>]
Category
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
Applicable: FAST Server for SharePoint 2010
A category object to be deleted.
Parameter properties
Type: | Category |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Category
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Confirm
Applicable: FAST Server for SharePoint 2010
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).
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Force
Applicable: FAST Server for SharePoint 2010
Overrides any user prompting settings, so that confirmation of the operation is not required.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Applicable: FAST Server for SharePoint 2010
The name of the category to delete.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | CategoryName, N |
Parameter sets
Name
Position: | 1 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-WhatIf
Applicable: FAST Server for SharePoint 2010
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
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
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.