New NotionBookmarkBlock - fasteiner/Notion GitHub Wiki

New-NotionBookmarkBlock

SYNOPSIS

Creates a new Notion bookmark block object.

SYNTAX

New-NotionBookmarkBlock [-Url <String>] [-Caption <Object>] 
 [<CommonParameters>]

DESCRIPTION

The New-NotionBookmarkBlock function instantiates a new notion_bookmark_block object. You can optionally provide a URL and/or a caption for the bookmark block.

EXAMPLES

EXAMPLE 1

New-NotionBookmarkBlock -Url "https://example.com" -Caption "Example Site"

Creates a new bookmark block with the specified URL and caption.

EXAMPLE 2

New-NotionBookmarkBlock -Url "https://example.com"

Creates a new bookmark block with only the specified URL.

PARAMETERS

-Caption

The caption to display for the bookmark block.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Url

The URL to associate with the bookmark block.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
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.

INPUTS

OUTPUTS

[notion_bookmark_block]

Returns a new instance of the notion_bookmark_block object.

NOTES

RELATED LINKS

⚠️ **GitHub.com Fallback** ⚠️