Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimbrig/PSEdgeTools
PowerShell Edge Keywords Backup and Restore
https://github.com/jimbrig/PSEdgeTools
Last synced: 3 months ago
JSON representation
PowerShell Edge Keywords Backup and Restore
- Host: GitHub
- URL: https://github.com/jimbrig/PSEdgeTools
- Owner: jimbrig
- Created: 2022-06-12T23:57:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-02T21:42:27.000Z (about 2 years ago)
- Last Synced: 2024-05-23T00:31:35.613Z (6 months ago)
- Language: PowerShell
- Size: 892 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- jimsghstars - jimbrig/PSEdgeTools - PowerShell Edge Keywords Backup and Restore (PowerShell)
README
# PSEdgeTools
> PowerShell scripts to help users interact and configure Microsoft Edge.
*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
![image](https://user-images.githubusercontent.com/32652297/173259958-5a54c71b-33fa-490f-b1ba-0e71fc699e64.png)