Kommandoer til at installere Session Manager Plugin uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med winget
PowerShell
winget install --id Amazon.SessionManagerPlugin -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Amazon.SessionManagerPlugin -e --silentwinget uninstall --id Amazon.SessionManagerPlugin -e --silentPr. installationsfil
64-bit · EXE (WiX Burn) · Alle brugere
Lydløs installation
SessionManagerPluginSetup.exe /quiet /norestartAfinstallation
msiexec /x {CEF0D74C-33BC-432B-941F-6E17BEA1F9D3} /qn /norestart- MSI-produktkode
- {cef0d74c-33bc-432b-941f-6e17bea1f9d3}
- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{cef0d74c-33bc-432b-941f-6e17bea1f9d3}
- UpgradeCode
- {9670508D-C72E-4FBC-B783-202D0682C2FE}
32-bit · EXE (WiX Burn) · Alle brugere
Lydløs installation
SessionManagerPluginSetup.exe /quiet /norestartAfinstallation
msiexec /x {CEF0D74C-33BC-432B-941F-6E17BEA1F9D3} /qn /norestart- MSI-produktkode
- {cef0d74c-33bc-432b-941f-6e17bea1f9d3}
- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{cef0d74c-33bc-432b-941f-6e17bea1f9d3}
- UpgradeCode
- {9670508D-C72E-4FBC-B783-202D0682C2FE}
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-session-manager-plugin.ps1
$url = 'https://s3.amazonaws.com/session-manager-downloads/plugin/1.2.896.0/windows/SessionManagerPluginSetup.exe'
$sha256 = '116A121CA6A781B7985D0C9FA3C5C9143440ACDE7822DE2E32733665EED30347'
$file = Join-Path $env:TEMP 'SessionManagerPluginSetup.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 /norestart' -Wait install-session-manager-plugin.ps1
$url = 'https://s3.amazonaws.com/session-manager-downloads/plugin/1.2.896.0/windows/SessionManagerPluginSetup.exe'
$sha256 = '116A121CA6A781B7985D0C9FA3C5C9143440ACDE7822DE2E32733665EED30347'
$file = Join-Path $env:TEMP 'SessionManagerPluginSetup.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 /norestart' -Wait