mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-05 22:28:31 +00:00
more winutil website update and new features (#4030)
* updated theme to the latest version * Update en.yaml * removed all the order from the docs * add the store link * update homepage * add filename and line number to all the code blocks and also removed pages * auto pull the code from the json files * Merge branch 'main' into winutil-new-features * the script updated linenostart= * Delete LaptopHibernation.md
This commit is contained in:
committed by
GitHub
parent
9d841687e3
commit
9b03b94435
@@ -2,14 +2,12 @@
|
||||
title: "Remove Microsoft Edge"
|
||||
description: ""
|
||||
---
|
||||
# Json File
|
||||
```json
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1437}
|
||||
"WPFTweaksRemoveEdge": {
|
||||
"Content": "Remove Microsoft Edge",
|
||||
"Description": "Unblocks Microsoft Edge uninstaller restrictions than uses that uninstaller to remove Microsoft Edge",
|
||||
"category": "z__Advanced Tweaks - CAUTION",
|
||||
"panel": "1",
|
||||
"Order": "a028_",
|
||||
"InvokeScript": [
|
||||
"Invoke-WinUtilRemoveEdge"
|
||||
],
|
||||
@@ -20,13 +18,3 @@ description: ""
|
||||
"
|
||||
],
|
||||
```
|
||||
# Function
|
||||
```powershell
|
||||
function Invoke-WinUtilRemoveEdge {
|
||||
Write-Host "Unlocking The Offical Edge Uninstaller And Removing Microsoft Edge..."
|
||||
|
||||
$Path = (Get-ChildItem "C:\Program Files (x86)\Microsoft\Edge\Application\*\Installer\setup.exe")[0].FullName
|
||||
New-Item "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe" -Force
|
||||
Start-Process $Path -ArgumentList '--uninstall --system-level --force-uninstall --delete-profile'
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user