คำสั่งสำหรับติดตั้ง Copilot modernization agent โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ 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 --silentแยกตามตัวติดตั้ง
64 บิต · MSI · en-US
ติดตั้งแบบเงียบ
msiexec /i modernize_1.0.76_windows_x64.msi /qn /norestartบันทึกไฟล์ log
msiexec /i modernize_1.0.76_windows_x64.msi /qn /norestart /l*v "%TEMP%\copilot-modernization-agent-install.log"ถอนการติดตั้ง
msiexec /x {D01DC9B2-3C82-4D19-A0B2-C294E4255509} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {D01DC9B2-3C82-4D19-A0B2-C294E4255509}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D01DC9B2-3C82-4D19-A0B2-C294E4255509}
ARM64 · MSI · en-US
ติดตั้งแบบเงียบ
msiexec /i modernize_1.0.76_windows_arm64.msi /qn /norestartบันทึกไฟล์ log
msiexec /i modernize_1.0.76_windows_arm64.msi /qn /norestart /l*v "%TEMP%\copilot-modernization-agent-install.log"ถอนการติดตั้ง
msiexec /x {63A34B3B-33B0-4EF4-BC1A-862F958912D2} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {63A34B3B-33B0-4EF4-BC1A-862F958912D2}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{63A34B3B-33B0-4EF4-BC1A-862F958912D2}
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-copilot-modernization-agent.ps1
$url = 'https://github.com/microsoft/modernize-cli/releases/download/v1.0.76/modernize_1.0.76_windows_x64.msi'
$sha256 = '52FF351434B1655B92D92E6630ECB9B47CB94B874BF2C679C02E73599130D5FA'
$file = Join-Path $env:TEMP 'modernize_1.0.76_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.76/modernize_1.0.76_windows_arm64.msi'
$sha256 = 'DE156D814F77D18A6DDDE2ACC4A61C20F9C922B454AB9FDE1347A40735EC1670'
$file = Join-Path $env:TEMP 'modernize_1.0.76_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