Kommandon för att installera PDQ Deploy 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 PDQ.PDQDeploy -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PDQ.PDQDeploy -e --silentwinget uninstall --id PDQ.PDQDeploy -e --silentPer installationsfil
64-bitars · EXE · Alla användare
Tyst installation
Deploy_20.2.31.0.exe /sAvinstallation
msiexec /x {4F97AF4B-7E7F-4072-8BF7-5921DEA14F3A} /qn /norestart- MSI-produktkod
- {4F97AF4B-7E7F-4072-8BF7-5921DEA14F3A}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4F97AF4B-7E7F-4072-8BF7-5921DEA14F3A}
- UpgradeCode
- {6506AFD1-C396-4C93-A3EC-62EAE6EF8889}
32-bitars · EXE · Alla användare
Tyst installation
Deploy_20.2.31.0.exe /sAvinstallation
msiexec /x {4F97AF4B-7E7F-4072-8BF7-5921DEA14F3A} /qn /norestart- MSI-produktkod
- {4F97AF4B-7E7F-4072-8BF7-5921DEA14F3A}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{4F97AF4B-7E7F-4072-8BF7-5921DEA14F3A}
- UpgradeCode
- {6506AFD1-C396-4C93-A3EC-62EAE6EF8889}
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-pdq-deploy.ps1
$url = 'https://services.pdq.com/download/deploy-inventory/Deploy_20.2.31.0.exe'
$sha256 = 'A1203E39E1F79D68A1FA6533A1E476CEDBAE56296CF4F3E60500DA35A7CAC7D4'
$file = Join-Path $env:TEMP 'Deploy_20.2.31.0.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 '/s' -Wait install-pdq-deploy.ps1
$url = 'https://services.pdq.com/download/deploy-inventory/Deploy_20.2.31.0.exe'
$sha256 = 'A1203E39E1F79D68A1FA6533A1E476CEDBAE56296CF4F3E60500DA35A7CAC7D4'
$file = Join-Path $env:TEMP 'Deploy_20.2.31.0.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 '/s' -Wait