คำสั่งสำหรับติดตั้ง Windows Migration Assistant โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id Apple.WindowsMigrationAssistant -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Apple.WindowsMigrationAssistant -e --silentwinget uninstall --id Apple.WindowsMigrationAssistant -e --silentแยกตามตัวติดตั้ง
32 บิต · EXE
ติดตั้งแบบเงียบ
WindowsMigrationAssistantSetup.exe /quietPowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-windows-migration-assistant.ps1
$url = 'https://updates.cdn-apple.com/2024/windows/052-83417-20240511-9053F1F5-070A-4E7D-83AE-126BC7071AA6/WindowsMigrationAssistantSetup.exe'
$sha256 = '45D0D7461D81A83B87825D3ACE29451E4E6B88941254179EF61F0B482B499423'
$file = Join-Path $env:TEMP 'WindowsMigrationAssistantSetup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet' -Wait