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
keywordstable is held withing thesqlitedatabase mentioned above.
-
PowerShell Scripts:
- Invoke-ExportEdgeKeywords.ps1: Export Microsoft Edge's
keywordsor customsearchEnginesto aSQLfile usingsqlite3. - Invoke-ImportEdgeKeywords.ps1: Import Microsoft Edge's
keywordsor customsearchEnginesfrom aSQLfile usingsqlite3.
- Invoke-ExportEdgeKeywords.ps1: Export Microsoft Edge's
-
SQL Scripts:
bin/sql_import_script.sql: Ran bysqlite3to import theEdgeKeywords.sqlfile into theWeb Datadatabase'skeywordstable.bin/sql_export_script.sql: Ran bysqlite3to export currentWeb Datadatabase'skeywordstable to aSQLDDL 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 sqliteAnother useful tool for viewing the Web Data database contents is sqlitebrowser which can be installed via:
scoop install sqlitebrowser