Edit

Share via


Remove-FASTSearchMetadataManagedProperty

Removes a managed property from the Microsoft FAST Search Server 2010 for SharePoint system.

Syntax

Name

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

ManagedProperty

Remove-FASTSearchMetadataManagedProperty
    -ManagedProperty <ManagedProperty>
    [-Confirm]
    [-Force]
    [-WhatIf]
    [<CommonParameters>]

Description

This command removes a managed property and its content from the FAST Search Server 2010 for SharePoint system. If the managed property is mapped into any full text indexes, the mapping is also removed. If there are any crawled property mappings to this managed property, those mappings are also removed.

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-FASTSearchMetadataManagedProperty -Name title

This example removes the managed property named "title" from the system. It will ask for confirmation before going through with the removal unless Force is specified.

EXAMPLE 2 (FAST Server for SharePoint 2010)

$createdby = Get-FASTSearchMetadataManagedProperty -name CreatedBy
Remove-FASTSearchMetadataManagedProperty -ManagedProperty $createdby -Force

This example removes the managed property represented by the object $managedproperty. The object is retrieved by calling Get-FASTSearchMetaDataManagedProperty, but any other call that returns a ManagedPropertyImpl object is acceptable.

No confirmation is required, since the Force parameter is specified.

Parameters

-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

-ManagedProperty

Applicable: FAST Server for SharePoint 2010

An object that represents the managed property to remove.

Parameter properties

Type:ManagedProperty
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ManagedProperty
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-Name

Applicable: FAST Server for SharePoint 2010

The name of the managed property to remove.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ManagedPropertyName, 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.