Remove-FASTSearchMetadataManagedProperty
Removes a managed property from the Microsoft FAST Search Server 2010 for SharePoint system.
Syntax
Remove-FASTSearchMetadataManagedProperty
[-Name] <String>
[-Confirm]
[-Force]
[-WhatIf]
[<CommonParameters>]
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
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 |
-ManagedProperty
An object that represents the managed property to remove.
Type: | ManagedProperty |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-Name
The name of the managed property to remove.
Type: | String |
Aliases: | ManagedPropertyName, 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 |