Remove-FASTSearchContentCollection
Applies to: SharePoint Server 2010
Deletes a Microsoft FAST Search Server 2010 for SharePoint content collection.
Syntax
Remove-FASTSearchContentCollection [-Name] <String> [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-WhatIf [<SwitchParameter>]]
Detailed Description
This cmdlet deletes a FAST Search Server 2010 for SharePoint content collection. All items in the collection will be deleted.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Name |
Required |
System.String |
The name of the content collection to delete. |
Confirm |
Optional |
System.Management.Automation.SwitchParameter |
Activates user prompting to confirm the operation. If set, prompting is activated. If Confirm is false ( 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). |
Force |
Optional |
System.Management.Automation.SwitchParameter |
Overrides any user prompting settings so the user is not asked to confirm the operation. |
WhatIf |
Optional |
System.Management.Automation.SwitchParameter |
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 |
Input Types
Return Types
Example
---------------EXAMPLE 1-----------------
Remove-FASTSearchContentCollection -Name newscollection -Force
This example removes the content collection named “newscollection” without asking the user to confirm the operation.
---------------EXAMPLE 2-----------------
Remove-FASTSearchContentCollection -Name newscollection -WhatIf
This example describes what would happen if you executed the Remove-FASTSearchContentCollection cmdlet.
See Also
Reference
Clear-FASTSearchContentCollection
New-FASTSearchContentCollection
Get-FASTSearchContentCollection