https://github.com/jimbrig/PSEdgeKeywords
PowerShell Core Module for Configuring, Backing Up, and Managing Microsoft Edge Search Engine "Keywords"
https://github.com/jimbrig/PSEdgeKeywords
browser edge microsoft-edge powershell search-engine settings-management sqlite utility
Last synced: 4 months ago
JSON representation
PowerShell Core Module for Configuring, Backing Up, and Managing Microsoft Edge Search Engine "Keywords"
- Host: GitHub
- URL: https://github.com/jimbrig/PSEdgeKeywords
- Owner: jimbrig
- License: mit
- Created: 2022-10-03T00:44:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T20:47:09.000Z (about 2 years ago)
- Last Synced: 2024-05-23T00:30:31.996Z (11 months ago)
- Topics: browser, edge, microsoft-edge, powershell, search-engine, settings-management, sqlite, utility
- Language: PowerShell
- Homepage: https://www.powershellgallery.com/packages/PSEdgeKeywords/
- Size: 164 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - jimbrig/PSEdgeKeywords - PowerShell Core Module for Configuring, Backing Up, and Managing Microsoft Edge Search Engine "Keywords" (PowerShell)
README
# PSEdgeKeywords
> PowerShell Core Module for Configuring, Backing Up, and Managing Microsoft Edge Search Engine "Keywords"
***

[](https://github.com/jimbrig/PSEdgeKeywords/actions/workflows/test.yml)
[](https://github.com/jimbrig/PSEdgeKeywords/actions/workflows/build.yml)
[](https://github.com/jimbrig/PSEdgeKeywords/actions/workflows/publish.yml)
[](https://github.com/jimbrig/PSEdgeKeywords/actions/workflows/git-cliff.yml)
****NOTE: This project was inspired by [erbanku/custom-search-engines-backup](https://github.com/erbanku/custom-search-engines-backup).*
View the repo's [Changelog](CHANGELOG.md) for details on the progression of the codebase over time.
## Overview
- Edge Custom Search Engines Settings URL: [edge://settings/searchEngines](http://settings/searchEngines)
- Edge User Profile Directory: `%LOCALAPPDATA%\Microsoft\Edge\Default`
- Edge Database: `%LOCALAPPDATA%\Microsoft\Edge\Default\Web Data`
- Edge `keywords` table is held withing the `sqlite` database mentioned above.### Scripts
- PowerShell Scripts:
- [Invoke-ExportEdgeKeywords.ps1](Invoke-ExportEdgeKeywords.ps1): Export Microsoft Edge's `keywords` or custom `searchEngines` to a `SQL` file using `sqlite3`.
- [Invoke-ImportEdgeKeywords.ps1](Invoke-ImportEdgeKeywords.ps1): Import Microsoft Edge's `keywords` or custom `searchEngines` from a `SQL` file using `sqlite3`.- SQL Scripts:
- [`bin/sql_import_script.sql`](bin/sql_import_script.sql): Ran by `sqlite3` to import the `EdgeKeywords.sql` file into the `Web Data` database's `keywords` table.
- [`bin/sql_export_script.sql`](bin/sql_export_script.sql): Ran by `sqlite3` to export current `Web Data` database's `keywords` table to a `SQL` DDL script: [`EdgeKeywords.sql`](output/EdgeKeywords.sql).### SQL
Output `.sql` files are exported to [`output/EdgeKeywords.sql`](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`:
```powershell
scoop install sqlite
```Another useful tool for viewing the `Web Data` database contents is [sqlitebrowser]() which can be installed via:
```powershell
scoop install sqlitebrowser
```## Current Search Engines

## Installation
## Examples