Remove-FASTSearchSecurityAliaser
Applies to: SharePoint Server 2010
Removes a security aliaser.
Syntax
Remove-FASTSearchSecurityAliaser [-Identity] <String> [[-SecurityAliaserToRemove] <SecurityAliaser>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]]
Detailed Description
This cmdlet deletes a regular expression or XML aliaser.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Identity |
Required |
System.String |
The identity of the regular expression or XML aliaser to remove. |
SecurityAliaserToRemove |
Optional |
Microsoft.SharePoint.Search.Extended.Security.PowerShell.Commands.SecurityAliaser |
A SecurityXMLAliaser or SecurityRegexAliaser object whose identity is used as the aliaser identity to remove. |
Confirm |
Optional |
System.Management.Automation.SwitchParameter |
Activates user prompting to confirm the operation. If set, prompting is activated and you must confirm the remove request. To suppress user prompting, set the confirm parameter to false. For example: |
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-FASTSearchSecurityAliaser -Identity xmlalias2
This example deletes an XML aliaser. A prompt is displayed to confirm the request.
---------------EXAMPLE 2-----------------
Remove-FASTSearchSecurityAliaser -Identity xmlalias4 -Confirm:$False
This example deletes an XML aliaser without displaying a prompt.