add silent installation

This commit is contained in:
MyDrift 2024-08-08 21:23:37 +02:00
parent 928c68f47c
commit 5cfcd36138

View File

@ -119,7 +119,7 @@ Function Uninstall-WinUtilEdgeBrowser {
write-host "Installing Edge"
Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/?linkid=2109047&Channel=Stable&language=en&consent=1" -OutFile $tempEdgePath
Start-Process -FilePath $tempEdgePath
Start-Process -FilePath $tempEdgePath -ArgumentList "/silent /install" -Wait
Remove-item $tempEdgePath
}