PowerShell scripts to help users interact and configure Microsoft Edge.
NOTE: This project was inspired by erbanku/custom-search-engines-backup.
View the repo's Changelog for details on the progression of the codebase over time.
-
Edge Custom Search Engines Settings URL: edge://settings/searchEngines
-
Edge User Profile Directory:
%LOCALAPPDATA%\Microsoft\Edge\Default
-
Edge Database:
%LOCALAPPDATA%\Microsoft\Edge\Default\Web Data
-
Edge
keywords
table is held withing thesqlite
database mentioned above.
-
PowerShell Scripts:
- Invoke-ExportEdgeKeywords.ps1: Export Microsoft Edge's
keywords
or customsearchEngines
to aSQL
file usingsqlite3
. - Invoke-ImportEdgeKeywords.ps1: Import Microsoft Edge's
keywords
or customsearchEngines
from aSQL
file usingsqlite3
.
- Invoke-ExportEdgeKeywords.ps1: Export Microsoft Edge's
-
SQL Scripts:
bin/sql_import_script.sql
: Ran bysqlite3
to import theEdgeKeywords.sql
file into theWeb Data
database'skeywords
table.bin/sql_export_script.sql
: Ran bysqlite3
to export currentWeb Data
database'skeywords
table to aSQL
DDL script:EdgeKeywords.sql
.
Output .sql
files are exported to output/EdgeKeywords.sql
. This same SQL
script can be used for importing back into Edge.
Note that all scripts rely on a dependency for having sqlite3
installed on your system and on the PATH
environment variable. Easy installation via scoop
:
scoop install sqlite
Another useful tool for viewing the Web Data
database contents is sqlitebrowser which can be installed via:
scoop install sqlitebrowser