Skip to content

Get-TriliumNoteContent

SYNOPSIS

Gets the content of a specific Trilium note.

SYNTAX

__AllParameterSets

Get-TriliumNoteContent [-NoteID] <string> [-SkipCertCheck] [<CommonParameters>]

ALIASES

None

DESCRIPTION

This function retrieves the content of a specific Trilium note based on the provided note ID.

EXAMPLES

EXAMPLE 1

Get-TriliumNoteContent -NoteID "root"

Gets the content of the root note.

PARAMETERS

-NoteID

The note ID to get content for.

Required?                    true
Position?                    0
Default value                None
Accept pipeline input?       false
Accept wildcard characters?  false
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-SkipCertCheck

Option to skip certificate check.

Required?                    false
Position?                    Named
Default value                None
Accept pipeline input?       false
Accept wildcard characters?  false
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

OUTPUTS

System.String

Returns the content of the specified note as a string.

NOTES

Note

This function requires that the authentication has been set using Connect-TriliumAuth.