Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
83 lines (61 sloc) 1.49 KB
external help file Module Name online version schema
PSTodoist-help.xml
PSTodoist
2.0.0

Remove-TodoistComment

SYNOPSIS

Removes a Todoist comment

SYNTAX

Remove-TodoistComment [-Id] <Int64[]> [[-Token] <String>] [<CommonParameters>]

DESCRIPTION

Removes one or several Todoist comments, can either be via array or INT array. Can also be supplied through pipeline

EXAMPLES

EXAMPLE 1

Remove-TodoistComment -Id 123456789

EXAMPLE 2

Remove-TodoistComment -Id 098765432,123466721

EXAMPLE 3

Get-TodoistComment | ? {$_.Content -match "Big"} | Remove-TodoistComment

PARAMETERS

-Id

Id of todoist comment

Type: Int64[]
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Token

Todoist token if it's not set as a global variable with Set-TodoistToken

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: $Global:TodoistToken
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 (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

RELATED LINKS