Kommandon för att installera Copilot modernization agent utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id GitHub.Copilot.modernization.agent -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GitHub.Copilot.modernization.agent -e --silentwinget uninstall --id GitHub.Copilot.modernization.agent -e --silentPer installationsfil
64-bitars · MSI · en-US
Tyst installation
msiexec /i modernize_1.0.95_windows_x64.msi /qn /norestartSkriv en logg
msiexec /i modernize_1.0.95_windows_x64.msi /qn /norestart /l*v "%TEMP%\copilot-modernization-agent-install.log"Avinstallation
msiexec /x {66F937DF-3767-433A-AC05-1446E853B750} /qn /norestart- MSI-produktkod
- {66F937DF-3767-433A-AC05-1446E853B750}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{66F937DF-3767-433A-AC05-1446E853B750}
ARM64 · MSI · en-US
Tyst installation
msiexec /i modernize_1.0.95_windows_arm64.msi /qn /norestartSkriv en logg
msiexec /i modernize_1.0.95_windows_arm64.msi /qn /norestart /l*v "%TEMP%\copilot-modernization-agent-install.log"Avinstallation
msiexec /x {2F43A103-766E-4238-A0BF-F1B2989954D6} /qn /norestart- MSI-produktkod
- {2F43A103-766E-4238-A0BF-F1B2989954D6}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2F43A103-766E-4238-A0BF-F1B2989954D6}
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-copilot-modernization-agent.ps1
$url = 'https://github.com/microsoft/modernize-cli/releases/download/v1.0.95/modernize_1.0.95_windows_x64.msi'
$sha256 = '1D4DC4E8D120AD8C569BA52BFBB83BD5B888E18EE04565EE1A11225199CA3CA0'
$file = Join-Path $env:TEMP 'modernize_1.0.95_windows_x64.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-copilot-modernization-agent.ps1
$url = 'https://github.com/microsoft/modernize-cli/releases/download/v1.0.95/modernize_1.0.95_windows_arm64.msi'
$sha256 = 'D8DC9F2557664010A393EA08ECE3FF0C06318945E67173C7A87B2D38DE173157'
$file = Join-Path $env:TEMP 'modernize_1.0.95_windows_arm64.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