Session Manager Plugin कोणत्याही प्रॉम्प्टशिवाय इन्स्टॉल करणे, पुन्हा काढणे आणि डिप्लॉयमेंट टूलमधून ओळखणे यासाठीच्या कमांड. एखादी कमांड तेव्हाच दाखवली जाते जेव्हा ती निश्चित असते: मॅनिफेस्टमधून, किंवा इन्स्टॉलर तंत्रज्ञानाच्या दस्तऐवजीकृत डिफॉल्टमधून.
संबंधित मार्गदर्शक: सायलेंट इन्स्टॉल स्विच: MSI, NSIS, Inno Setup · रजिस्ट्री किंवा PowerShell ने प्रोग्राम अनइन्स्टॉल करा
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 --silentइन्स्टॉलरनुसार
64-बिट · EXE (WiX Burn) · सर्व युजर
सायलेंट इन्स्टॉल
SessionManagerPluginSetup.exe /quiet /norestartअनइन्स्टॉल
msiexec /x {CEF0D74C-33BC-432B-941F-6E17BEA1F9D3} /qn /norestart- MSI प्रॉडक्ट कोड
- {cef0d74c-33bc-432b-941f-6e17bea1f9d3}
- अनइन्स्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{cef0d74c-33bc-432b-941f-6e17bea1f9d3}
- UpgradeCode
- {9670508D-C72E-4FBC-B783-202D0682C2FE}
32-बिट · EXE (WiX Burn) · सर्व युजर
सायलेंट इन्स्टॉल
SessionManagerPluginSetup.exe /quiet /norestartअनइन्स्टॉल
msiexec /x {CEF0D74C-33BC-432B-941F-6E17BEA1F9D3} /qn /norestart- MSI प्रॉडक्ट कोड
- {cef0d74c-33bc-432b-941f-6e17bea1f9d3}
- अनइन्स्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{cef0d74c-33bc-432b-941f-6e17bea1f9d3}
- UpgradeCode
- {9670508D-C72E-4FBC-B783-202D0682C2FE}
PowerShell: डाउनलोड, तपासणी, इन्स्टॉल
अधिकृत फाइल डाउनलोड करते, तिचा SHA256 तपासते आणि ती सायलेंट मोडमध्ये इन्स्टॉल करते.
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