פקודות להתקנה של Microsoft Edge בלי חלונות ושאלות, להסרה ולזיהוי בכלי הפצה. פקודה מוצגת רק כשהיא ודאית: מתוך המניפסט או מברירת המחדל המתועדת של טכנולוגיית ההתקנה.
מדריך קשור: פרמטרים להתקנה שקטה: MSI, NSIS, Inno Setup · הסרת תוכנה דרך הרישום או PowerShell
באמצעות winget
PowerShell
winget install --id Microsoft.Edge -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.Edge -e --silentwinget uninstall --id Microsoft.Edge -e --silentלפי קובץ התקנה
64 ביט · MSI · כל המשתמשים · en-US
התקנה שקטה
msiexec /i MicrosoftEdgeEnterpriseX64.msi /qn /norestartכתיבת קובץ יומן
msiexec /i MicrosoftEdgeEnterpriseX64.msi /qn /norestart /l*v "%TEMP%\microsoft-edge-install.log"ARM64 · MSI · כל המשתמשים · en-US
התקנה שקטה
msiexec /i MicrosoftEdgeEnterpriseARM64.msi /qn /norestartכתיבת קובץ יומן
msiexec /i MicrosoftEdgeEnterpriseARM64.msi /qn /norestart /l*v "%TEMP%\microsoft-edge-install.log"32 ביט · MSI · כל המשתמשים · en-US
התקנה שקטה
msiexec /i MicrosoftEdgeEnterpriseX86.msi /qn /norestartכתיבת קובץ יומן
msiexec /i MicrosoftEdgeEnterpriseX86.msi /qn /norestart /l*v "%TEMP%\microsoft-edge-install.log"PowerShell: הורדה, אימות והתקנה
הסקריפט מוריד את הקובץ הרשמי, בודק את ערך ה־SHA256 ומתקין אותו בהתקנה שקטה.
install-microsoft-edge.ps1
$url = 'https://download.microsoft.com/download/6a05dff7-d4e0-4e1f-a773-efe3f9c17341/MicrosoftEdgeEnterpriseX64.msi'
$sha256 = '784051EBFCC8B28569127F381D515766866C4925312D35C52293382B97EEF2FB'
$file = Join-Path $env:TEMP 'MicrosoftEdgeEnterpriseX64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-microsoft-edge.ps1
$url = 'https://download.microsoft.com/download/6a05dff7-d4e0-4e1f-a773-efe3f9c17341/MicrosoftEdgeEnterpriseARM64.msi'
$sha256 = 'EFBE5C1D991DA1A620F5AEE531729B6417FE8D6FAB49CB726A6C97E477B572B9'
$file = Join-Path $env:TEMP 'MicrosoftEdgeEnterpriseARM64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-microsoft-edge.ps1
$url = 'https://download.microsoft.com/download/6a05dff7-d4e0-4e1f-a773-efe3f9c17341/MicrosoftEdgeEnterpriseX86.msi'
$sha256 = '8FC2F8E437980DDC0FEED79398295DD16A5B0CAB370DFD5D1D5D82340278EBE1'
$file = Join-Path $env:TEMP 'MicrosoftEdgeEnterpriseX86.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait