< Back

Get-FirefoxBookmarkLocation

Sun Jan 19, 2020 6:17 pm

NAME Get-FirefoxBookmarkLocation



SYNOPSIS

Returns the default path for the Firefox bookmarks database or validates the specified path.





SYNTAX

Get-FirefoxBookmarkLocation [-DefaultProfile <SwitchParameter>] [<CommonParameters>]



Get-FirefoxBookmarkLocation [-PlacesFile <String>] [<CommonParameters>]





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.





PARAMETERS

-DefaultProfile [<SwitchParameter>]

If specified, the function will attempt to determine the default places.sqlite path and validate the database

found there.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-PlacesFile <String>

A full path to a Firefox database file. Must be a valid file path specification.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Keine







OUTPUTS

String







EXAMPLE 1



Returns the full path to the places.sqlite of the current user.C:\\PS> Get-FirefoxBookmarkLocation -DefaultProfile







RELATED LINKS

Online Version: https://metabpa.org/projects/psbrowserb ... klocation/