Returns the default path for the Firefox bookmarks database or validates the specified path.
Get-FirefoxBookmarkLocation -DefaultProfile
Get-FirefoxBookmarkLocation -PlacesFile
Description
This function always returns a path to a valid Firefox SQLite database. It is either the default path found in the current user’s profile or the specified path (-PlacesFile) as long as it contains a valid bookmarks database. If no database is found or the database has not the required table structure, the function returns $null.
Examples
Returns the full path to the places.sqlite of the current user.
Get-FirefoxBookmarkLocation -DefaultProfile
Parameters
-DefaultProfile
[switch]
If specified, the function will attempt to determine the default places.sqlite path and validate the database found there.
-PlacesFile
[string]
A full path to a Firefox database file. Must be a valid file path specification.
Input
This function does not accept pipeline input.
Output
A single string value.
[ back to module ]