Skip to content

Add-TwitterSavedSearch

SYNOPSIS

Create a new saved search for the authenticated user.

SYNTAX

Add-TwitterSavedSearch [-SearchString] <String> [<CommonParameters>]

DESCRIPTION

Create a new saved search for the authenticated user.

Note: A user may only have 25 saved searches.

EXAMPLES

Example 1

PS > Add-TwitterSavedSearch -SearchString '(#pwsh_eats)'
id         : 1325982551094210566
id_str     : 1325982551094210566
query      : (#pwsh_eats)
name       : (#pwsh_eats)
position   :
created_at : Tue Nov 10 02:04:10 +0000 2020

Add a new saved search for the #pwsh_eats hashtag.

PARAMETERS

-SearchString

The query of the search the user would like to save.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
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.

INPUTS

None

OUTPUTS

System.Object

NOTES

Online Version

Get-TwitterSavedSearch

Remove-TwitterSavedSearch

Search Standard Operators

Api Reference - POST saved_searches/create