BrowserBookmark

Class description

Provides an interchange format for browser bookmarks from different architectures. New-BrowserBookmark returns a single BrowserBookmark object, Get-*Bookmark return an array of BrowserBookmark objects.

Properties

Source

[string] mandatory attribute.

The source browser architecture of the bookmark. Valid values are ‘generic’, ‘ie’, ‘firefox’ and ‘chrome’.

URL

[string] mandatory attribute.

The URL of the bookmark.

Title

[string] mandatory attribute.

Display name of the bookmark. In IE, its sanitized form is also the file name.

Path

[string]

Backslash-separated folder path to the bookmak.

BMKGuid

[string]

GUID of the bookmark in the internal format of the source architecture. In Firefox, it is the guid field from the moz_bookmarks table. In Chrome, it is the guid attribute of the bookmark object from JSON. The formats are not compatible to each other. In IE, there is no GUID-type attribute.

URLGuid

[string]

This is a Firefox-only property. It is the guid field from the moz_places table.

URLHash

[string]

This is a Firefox-only property. It is the url_hash field from the moz_places table.

Order

[int]

This is a Firefox-only property. It is the position field from the moz_bookmarks table.

DateAdded

[Nullable[datetime]]

A datetime field indicating when the bookmark has been added.

Description

[string]

Description of the bookmark. Usually it is the abstract from the linked resource that is added automatically. In IE favorites this field is editable.

IconFile

[string]

Path to the icon file. This is an IE-only property and contains an absolute path or an URL, usually to favicon.ico. Firefox and chrome store icons in SQLite databases according to the URL.

IconIndex

[int]

Number of the icon in the icon file. This is an IE-only property.

Stars

[Nullable[int]]

Number of stars this bookmark was given. This is an IE-only property.

Notes

[string]

Notes assigned to the bookmarks. This is an IE-only property.

Methods

This class does not export any methods.

Constructors

BrowserBookmark([string]$Source)

[ back to module ]