| external help file | DSInternals.Win32.RpcFilters.PowerShell.dll-Help.xml |
|---|---|
| Module Name | DSInternals.RpcFilters |
| online version | https://github.com/MichaelGrafnetter/RPCFilterManager/blob/main/Documentation/PowerShell/Remove-RpcFilter.md |
| schema | 2.0.0 |
Removes an existing remote procedure call (RPC) filter.
Remove-RpcFilter [-Id] <UInt64> [<CommonParameters>]
Remove-RpcFilter [-InputObject] <RpcFilter> [-PassThrough] [<CommonParameters>]
This cmdlet removes an existing RPC filter from the system. The filter can be specified by its unique identifier or by passing the filter object directly.
PS C:\> Remove-RpcFilter -Id 123Removes the RPC filter with the specified identifier.
PS C:\> Get-RpcFilter | where Name -eq 'Block-EFSRPC' | Remove-RpcFilter -PassThroughRemoves RPC filters called 'Block-EFSRPC' and returns the deleted filter objects.
PS C:\> Get-RpcFilter | Remove-RpcFilterRemoves all existing RPC filters from the system.
Specifies the identifier of the RPC filter to delete.
Type: UInt64
Parameter Sets: Id
Aliases: FilterId, RpcFilter
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseSpecifies the RPC filter object to delete.
Type: RpcFilter
Parameter Sets: InputObject
Aliases: Filter
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: FalseIf this switch is specified, the cmdlet returns the deleted RPC filter object. By default, this cmdlet does not generate any output.
Type: SwitchParameter
Parameter Sets: InputObject
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.