Befehle, um Puppet Agent ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id Puppet.puppet-agent -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Puppet.puppet-agent -e --silentwinget uninstall --id Puppet.puppet-agent -e --silentNach Installer
64-Bit · MSI · Alle Benutzer · en-US
Stille Installation
msiexec /i puppet-agent-8.10.0-x64.msi /qn /norestartProtokoll schreiben
msiexec /i puppet-agent-8.10.0-x64.msi /qn /norestart /l*v "%TEMP%\puppet-agent-install.log"Deinstallation
msiexec /x {E8DAC06D-885F-4175-A38F-1266CFE64AE4} /qn /norestart- MSI-Produktcode
- {E8DAC06D-885F-4175-A38F-1266CFE64AE4}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E8DAC06D-885F-4175-A38F-1266CFE64AE4}
- UpgradeCode
- {2AD3D11C-61B3-4710-B106-B4FDEC5FA358}
32-Bit · MSI · Alle Benutzer · en-US
Stille Installation
msiexec /i puppet-agent-8.10.0-x86.msi /qn /norestartProtokoll schreiben
msiexec /i puppet-agent-8.10.0-x86.msi /qn /norestart /l*v "%TEMP%\puppet-agent-install.log"Deinstallation
msiexec /x {920FEB48-B20A-4D4D-9AC9-EAEA898949B4} /qn /norestart- MSI-Produktcode
- {920FEB48-B20A-4D4D-9AC9-EAEA898949B4}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{920FEB48-B20A-4D4D-9AC9-EAEA898949B4}
- UpgradeCode
- {2AD3D11C-61B3-4710-B106-B4FDEC5FA358}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-puppet-agent.ps1
$url = 'https://downloads.puppetlabs.com/windows/puppet8/puppet-agent-8.10.0-x64.msi'
$sha256 = 'F47C4EC0DDEF7DFF097FD77E7C74610297BA4233BE7E9EE6A366C106F6437459'
$file = Join-Path $env:TEMP 'puppet-agent-8.10.0-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-puppet-agent.ps1
$url = 'https://downloads.puppetlabs.com/windows/puppet8/puppet-agent-8.10.0-x86.msi'
$sha256 = '8E1C7501D90FFDFFA9A4E5E9DB29986C08AC0B08F2DBD6C2292D0ACAB9974EFF'
$file = Join-Path $env:TEMP 'puppet-agent-8.10.0-x86.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