mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-02-04 06:50:09 +00:00
Remove-Edge (#3913)
* Update tweaks.json * Create Invoke-WinUtilRemoveEdge.ps1 * Update and rename EdgeUninstall.md to RemoveEdge.md * Update Invoke-WinUtilRemoveEdge.ps1 * Update RemoveEdge.md * Update Invoke-WinUtilRemoveEdge.ps1 * Update RemoveEdge.md * Update Invoke-WinUtilRemoveEdge.ps1 * Update RemoveEdge.md * Update Invoke-WinUtilRemoveEdge.ps1 * Update RemoveEdge.md * Update Invoke-WinUtilRemoveEdge.ps1 * Update Invoke-WinUtilRemoveEdge.ps1 * Update RemoveEdge.md
This commit is contained in:
7
functions/public/Invoke-WinUtilRemoveEdge.ps1
Normal file
7
functions/public/Invoke-WinUtilRemoveEdge.ps1
Normal file
@@ -0,0 +1,7 @@
|
||||
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