Retrieves a list of saved articles from a Pocket account.
Get-PocketArticles.ps1 [-After] <DateTime> [-Before] <DateTime> [[-Search] <String>] [-Domain <String>]
[-State <String>] [-Tag <String>] [-Sort <String>] [-ContentType <String>] [-Vault <String>] [-Favorite]
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
Export-PocketArticles.ps1 2020-02-15 2021-03-01 -State Archive -Tag Programming -Sort Newest |Format-Table -Auto
item_id resolved_id given_url given_title favorite status time_added time_updated time_read time_favorited ——- ———– ——— ———– ——– —— ———- ———— ——— ————– 2713538930 2713538930 https://dev.to/thementor/i-run-powershell-on-android-and-so-can-you-458k I run PowerShell on Android and so can you !!
Return articles newer than this time.
Type: DateTime
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Return articles older than this time.
Type: DateTime
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Return articles containing this search term.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Return articles from this domain.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Return articles with this read/archived/either status.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: Unread
Accept pipeline input: False
Accept wildcard characters: False
Return articles with this tag.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a method for sorting returned articles.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Return only video, image, or text articles as specified.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of the secret vault to retrieve the Pocket API consumer key from. By default, the default vault is used.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Return only favorite articles.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
You’ll need a “consumer key” (API key; see the link below to “create new app”). You’ll be prompted for that, and to authorize it to your account.