Remove-FASTSearchMetadataRankProfile
Removes a rank profile from the Microsoft FAST Search Server 2010 for SharePoint system.
Syntax
Remove-FASTSearchMetadataRankProfile
[-Name] <String>
[-Confirm]
[-Force]
[-WhatIf]
[<CommonParameters>]
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
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).
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 rank profile to remove.
Type: | String |
Aliases: | RankProfileName, N |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-RankProfile
An object representing the rank profile to remove.
Type: | RankProfile |
Position: | Named |
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 |