Get-TriliumDayNote
SYNOPSIS
Gets (or creates) the TriliumNext day note for a specific date.
SYNTAX
__AllParameterSets
Get-TriliumDayNote [[-Date] <datetime>] [-SkipCertCheck] [<CommonParameters>]
ALIASES
None
DESCRIPTION
This function retrieves the TriliumNext day note using the provided date. If the note does not exist, it will be created. The day note is typically used for journaling or daily entries.
EXAMPLES
Example 1
$day = Get-TriliumDayNote
Gets the current day note, or creates it if it doesn't exist.
Example 2
Get-TriliumDayNote -Date "2022-02-22"
Gets the day note for February 22, 2022, or creates it if it doesn't exist.
PARAMETERS
-Date
The date for which to retrieve the day note. Accepts a [datetime] object. Format sent to API: yyyy-MM-dd. Defaults to today if not specified.
Type: System.DateTime
DefaultValue: (Get-Date)
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-SkipCertCheck
Option to skip certificate check.
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None. You cannot pipe objects to Get-TriliumDayNote.
OUTPUTS
System.Object
Returns the TriliumNext day note object for the specified date.