step-agent ਨੂੰ ਬਿਨਾਂ ਕਿਸੇ ਸਵਾਲ ਦੇ ਇੰਸਟਾਲ ਕਰਨ, ਦੁਬਾਰਾ ਹਟਾਉਣ ਅਤੇ ਡਿਪਲੌਇਮੈਂਟ ਟੂਲਾਂ ਨਾਲ ਪਛਾਣਨ ਦੀਆਂ ਕਮਾਂਡਾਂ। ਕੋਈ ਕਮਾਂਡ ਤਾਂ ਹੀ ਦਿਖਾਈ ਜਾਂਦੀ ਹੈ ਜੇ ਉਹ ਪੱਕੀ ਹੋਵੇ: ਮੈਨੀਫ਼ੈਸਟ ਤੋਂ, ਜਾਂ ਇੰਸਟਾਲਰ ਤਕਨੀਕ ਦੇ ਦਰਜ ਡਿਫ਼ੌਲਟ ਤੋਂ।
ਸੰਬੰਧਿਤ ਗਾਈਡ: ਸਾਈਲੈਂਟ ਇੰਸਟਾਲ ਸਵਿੱਚ: MSI, NSIS, Inno Setup · ਰਜਿਸਟਰੀ ਜਾਂ PowerShell ਨਾਲ ਪ੍ਰੋਗਰਾਮ ਅਣਇੰਸਟਾਲ ਕਰੋ
winget ਨਾਲ
PowerShell
winget install --id Smallstep.step-agent -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Smallstep.step-agent -e --silentwinget uninstall --id Smallstep.step-agent -e --silentਹਰ ਇੰਸਟਾਲਰ ਮੁਤਾਬਕ
64-ਬਿੱਟ · MSI · en-US
ਸਾਈਲੈਂਟ ਇੰਸਟਾਲ
msiexec /i step-agent_amd64.msi /qn /norestartਲੌਗ ਫ਼ਾਈਲ ਲਿਖੋ
msiexec /i step-agent_amd64.msi /qn /norestart /l*v "%TEMP%\step-agent-install.log"ARM64 · MSI · en-US
ਸਾਈਲੈਂਟ ਇੰਸਟਾਲ
msiexec /i step-agent_arm64.msi /qn /norestartਲੌਗ ਫ਼ਾਈਲ ਲਿਖੋ
msiexec /i step-agent_arm64.msi /qn /norestart /l*v "%TEMP%\step-agent-install.log"PowerShell: ਡਾਊਨਲੋਡ, ਜਾਂਚ, ਇੰਸਟਾਲ
ਅਧਿਕਾਰਤ ਫ਼ਾਈਲ ਡਾਊਨਲੋਡ ਕਰਦੀ ਹੈ, ਉਸ ਦਾ SHA256 ਜਾਂਚਦੀ ਹੈ ਅਤੇ ਉਸ ਨੂੰ ਸਾਈਲੈਂਟ ਮੋਡ ਵਿੱਚ ਇੰਸਟਾਲ ਕਰਦੀ ਹੈ।
install-step-agent.ps1
$url = 'https://github.com/smallstep/step-agent/releases/download/v0.72.1/step-agent_amd64.msi'
$sha256 = 'BC9D4AF7ACC3B0A7BEC8FA27573B7527FF413C5AE12365B80A264BEBDF17D93A'
$file = Join-Path $env:TEMP 'step-agent_amd64.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-step-agent.ps1
$url = 'https://github.com/smallstep/step-agent/releases/download/v0.72.1/step-agent_arm64.msi'
$sha256 = 'EA59DFF04B06D836AE41A794D18F848D62A5EF017EF2651BC587FB690A3AEEAB'
$file = Join-Path $env:TEMP 'step-agent_arm64.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