Share via


Remove-FASTSearchMetadataRankProfile

Removes a rank profile from the Microsoft FAST Search Server 2010 for SharePoint system.

Syntax

Name

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

RankProfile

Remove-FASTSearchMetadataRankProfile
    -RankProfile <RankProfile>
    [-Confirm]
    [-Force]
    [-WhatIf]
    [<CommonParameters>]

Description

This cmdlet removes a rank profile from the FAST Search Server 2010 for SharePoint system.

A rank profile controls relevance calculation when searching a full text index. If a deleted rank profile is specified when searching, then the default rank profile is used.

The default rank profile cannot be deleted.

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-FASTSearchMetadataRankProfile -Name webcontent

This example removes the rank profile "webcontent".

EXAMPLE 2 (FAST Server for SharePoint 2010)

$rankprofile = Get-FASTSearchMetadataRankProfile -Name newrankprofile
Remove-FASTSearchMetadataRankProfile -Force -RankProfile $rankprofile

This example deletes the rank profile object which represents the rank profile named "newrankprofile".

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 greater than or equal to 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 rank profile to remove.

Parameter properties

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

Parameter sets

Name
Position:1
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-RankProfile

Applicable: FAST Server for SharePoint 2010

An object representing the rank profile to remove.

Parameter properties

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

Parameter sets

RankProfile
Position:Named
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.