New NotionBookmarkBlock - fasteiner/Notion GitHub Wiki
Creates a new Notion bookmark block object.
New-NotionBookmarkBlock [-Url <String>] [-Caption <Object>]
[<CommonParameters>]
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.
New-NotionBookmarkBlock -Url "https://example.com" -Caption "Example Site"
Creates a new bookmark block with the specified URL and caption.
New-NotionBookmarkBlock -Url "https://example.com"
Creates a new bookmark block with only the specified URL.
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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.