Remove-TwitterSavedSearch
SYNOPSIS
Deletes the specified saved search belonging to the authenticating user.
SYNTAX
ById (Default)
Remove-TwitterSavedSearch -Id <String> [-Confirm] [-WhatIf] [<CommonParameters>]
BySavedSearch
Remove-TwitterSavedSearch -SavedSearch <SavedSearch> [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
Deletes the specified saved search belonging to the authenticating user.
EXAMPLES
Example 1
PS > Remove-TwitterSavedSearch -Id 1225849015092367362
Confirm
Are you sure you want to perform this action?
Performing the operation "Removing Saved Search" on target "Search : (#PoShEvents) (from:thedavecarroll), Created: Fri Feb 07 18:29:15 +0000 2020".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
Deletes the specified saved search belonging to the authenticating user.
Example 2
PS > Get-TwitterSavedSearch -Id 1325982551094210566 | Remove-TwitterSavedSearch
Confirm
Are you sure you want to perform this action?
Performing the operation "Removing Saved Search" on target "Search: (#pwsh_eats), Created: 11/9/2020 8:04:10 PM".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
Gets the specified saved search then deletes it, if belonging to the authenticating user.
PARAMETERS
-Id
The id of the saved search.
Type: System.String
Parameter Sets: ById
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-SavedSearch
A SavedSearch object returned from Get-TwitterSavedSearch.
Type: BluebirdPS.APIV1.SavedSearch
Parameter Sets: BySavedSearch
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.