Add-FirefoxBookmark

Description

Adds the bookmarks passed as parameter or from the pipeline to the specified Firefox bookmark database. If the specified database does not exist it will be created from an empty template.

Examples

Creates a bookmark object for the metaBPA homepage and adds it to the default Chrome bookmark file. Creates a backup before altering the file.

Adds all Chrome bookmarks from the default file to the Firefox bookmark database c:\temp\bookmarks.sqlite.

Parameters

-Bookmark

[BrowserBookmark[]]

The mandatory array of BrowserBookmark objects to add to the file.

-DefaultProfile

[switch]

If specified, the Cmdlet will look for the default Bookmark file location in the current user’s profile.

-ExcludeFolders

[switch]

If specified, all bookmarks will be added to the Bookmark Bar, regardless of the original folder path.

-TargetFile

[string]

Full path to the target file. Must resolve to a valid file specifier.

-BackupTarget

[switch]

If specified, the Cmdlet will backup the target database to a zip archive.

-BackupPath

[string]

Full path to the folder where the backup file will be created. Must resolve to a valid file specifier. Path must exist.

Input

An array of BrowserBookmark objects.

Output

A single BookmarkOperationResult object.

[ back to module ]