Skip to content

Trilium Module

Description

Powershell wrapper for the Trilium Notes API

Trilium

Connect-TriliumAuth

Authenticates to a TriliumNext instance for API calls.

Copy-TriliumNote

Creates a clone (branch) of a Trilium note in another note.

Disconnect-TriliumAuth

Removes authentication for TriliumNext and clears stored credentials.

Export-TriliumNote

Exports a TriliumNext note to a zip file.

Find-TriliumNote

Searches for TriliumNext notes by title, label, or other criteria.

Format-TriliumHtml

Formats and beautifies HTML content for Trilium Notes.

Get-TriliumAttachment

Retrieves metadata for a specific Trilium Notes attachment by its ID.

Get-TriliumAttachmentContent

Gets the content of a specific TriliumNext attachment by its ID.

Get-TriliumAttribute

Gets details of a specific Trilium attribute.

Get-TriliumBranch

Gets details of a specific Trilium branch.

Get-TriliumDayNote

Gets (or creates) the TriliumNext day note for a specific date.

Get-TriliumInbox

Gets (or creates) the TriliumNext inbox note for a specific date.

Get-TriliumInfo

Gets the application info for TriliumNext.

Get-TriliumMonthNote

Gets (or creates) the TriliumNext month note for a specific month.

Get-TriliumNoteAttachment

Retrieves all attachments for a specific Trilium Notes note by note ID.

Get-TriliumNoteContent

Gets the content of a specific Trilium note.

Get-TriliumNoteDetail

Gets details of a specific TriliumNext note.

Get-TriliumRootNote

Gets the root note details from the TriliumNext instance.

Get-TriliumWeekNote

Gets (or creates) the TriliumNext week note for a specific date.

Get-TriliumYearNote

Gets (or creates) the TriliumNext year note for a specific year.

Import-TriliumNoteZip

Imports a Trilium note zip file to a specific Trilium note.

New-TriliumAttachment

Uploads a file as an attachment to a Trilium Notes note and appends a reference link or image to the end of the note's content.

New-TriliumAttribute

Creates or updates a Trilium attribute (label or relation) for a note.

New-TriliumBackup

Creates a new backup for a specific Trilium instance.

New-TriliumNote

Creates a new note in Trilium Notes.

New-TriliumNoteFile

Creates a new Trilium note with a file (binary content) as its content.

New-TriliumNoteRevision

Creates a new revision for a specific Trilium note.

Remove-TriliumAttachment

Removes a specific Trilium attachment by its ID.

Remove-TriliumAttribute

Removes a specific Trilium attribute.

Remove-TriliumBranch

Removes a specific Trilium branch.

Remove-TriliumNote

Removes a Trilium note.

Set-TriliumBranch

Patch (update) a TriliumNext branch's prefix or note position by branchId.

Set-TriliumNoteContent

Sets the content of a specific Trilium note.

Set-TriliumNoteDetails

Patch (update) a TriliumNext note's type, title, or both by noteId.

Update-TriliumNoteOrder

Updates the order of notes under a specific parent note.