คำสั่งสำหรับติดตั้ง PortForCommandPalette โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id 15722UsefulApp.PortForCommandPalette -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id 15722UsefulApp.PortForCommandPalette -e --silentwinget uninstall --id 15722UsefulApp.PortForCommandPalette -e --silentแยกตามตัวติดตั้ง
64 บิต · MSIX
ติดตั้งแบบเงียบ
Add-AppxPackage -Path 15722UsefulApp.PortForCommandPalette_1.1.0.0_x64__s4b834ss2syh6.Msixถอนการติดตั้ง
Get-AppxPackage -Name 15722UsefulApp.PortForCommandPalette | Remove-AppxPackageARM64 · MSIX
ติดตั้งแบบเงียบ
Add-AppxPackage -Path 15722UsefulApp.PortForCommandPalette_1.1.0.0_arm64__s4b834ss2syh6.Msixถอนการติดตั้ง
Get-AppxPackage -Name 15722UsefulApp.PortForCommandPalette | Remove-AppxPackagePowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-portforcommandpalette.ps1
$url = 'https://github.com/tanchekwei/PortForCommandPalette/releases/download/v1.1.0.0/15722UsefulApp.PortForCommandPalette_1.1.0.0_x64__s4b834ss2syh6.Msix'
$sha256 = '7FA456F0B194BE26C194D570798295550CB5948AD8C61565F142AB534AEADB92'
$file = Join-Path $env:TEMP '15722UsefulApp.PortForCommandPalette_1.1.0.0_x64__s4b834ss2syh6.Msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-portforcommandpalette.ps1
$url = 'https://github.com/tanchekwei/PortForCommandPalette/releases/download/v1.1.0.0/15722UsefulApp.PortForCommandPalette_1.1.0.0_arm64__s4b834ss2syh6.Msix'
$sha256 = '83B72262D29C89960B55FEBBFBC0E3F7D90FEF4AF5EC76F0CBA2357C8CD78180'
$file = Join-Path $env:TEMP '15722UsefulApp.PortForCommandPalette_1.1.0.0_arm64__s4b834ss2syh6.Msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file