mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-07-18 01:40:49 +00:00
update edge uninstall (#4666)
* yep * Update tweaks.json * Update tweaks.json * Update tweaks.json * Update tweaks.json * Update tweaks.json * Update tweaks.json
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
function Invoke-WinUtilRemoveEdge {
|
||||
New-Item -Path "$Env:SystemRoot\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe" -Force
|
||||
|
||||
$Path = Resolve-Path -Path "$Env:ProgramFiles (x86)\Microsoft\Edge\Application\*\Installer\setup.exe" | Select-Object -Last 1
|
||||
Start-Process -FilePath $Path -ArgumentList '--uninstall --system-level --force-uninstall --delete-profile' -Wait
|
||||
|
||||
Write-Host "Microsoft Edge was removed" -ForegroundColor Green
|
||||
}
|
||||
Reference in New Issue
Block a user