Commands for installing Agent Console without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id CylCastillo.AgentConsole -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CylCastillo.AgentConsole -e --silentwinget uninstall --id CylCastillo.AgentConsole -e --silentBy installer
64-bit · EXE (NSIS) · Current user · en-US
Silent install
Agent.Console_0.94.0_x64-setup.exe /SCustom folder
Agent.Console_0.94.0_x64-setup.exe /S /D=C:\Apps\agent-console- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Agent Console
- Install folder
- %LocalAppData%\Agent Console
- DisplayVersion
- 0.94.0
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-agent-console.ps1
$url = 'https://github.com/cyl-castillo/agent-console/releases/download/v0.94.0/Agent.Console_0.94.0_x64-setup.exe'
$sha256 = '57EB78B8ECFAC8170E7778F171E489F01B1BE78E5954E6FE28CA75526EBF6592'
$file = Join-Path $env:TEMP 'Agent.Console_0.94.0_x64-setup.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