Remove-ChromeBookmark

Remove-ChromeBookmark 
    -URL 
    -DefaultProfile
Remove-ChromeBookmark 
    -URL 
    -TargetFile

Description

Removes a bookmark containing the URL from a Chrome Bookmarks file.

Examples

Removes a bookmark for the metaBPA homepage from the default Bookmarks.

Remove-ChromeBookmark -URL 'https://metabpa.org' -DefaultProfile

Parameters

-URL

[string[]]

Each of the array members represents the URI of abookmark to remove. Must resolve to a valid [uri] object.

-DefaultProfile

[switch]

The bookmarks are removed from the default Bookmarks file of the current user. Mutually exclusive with -TargetFile.

-TargetFile

[string]

The bookmarks are removed from the file specified. Mutually exclusive with -DefaultProfile.

 

Inputs

This function does not accept pipeline input.

Output

A single BookmarkOperationResult object.

[ back to module ]