Commands for installing NetSend 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 williamnie.NetSend -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id williamnie.NetSend -e --silentwinget uninstall --id williamnie.NetSend -e --silentBy installer
64-bit · EXE (NSIS) · All users
Silent install
NetSend.Setup.2.0.5.exe /SCustom folder
NetSend.Setup.2.0.5.exe /S /D=C:\Apps\netsend- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\172176f5-2939-5289-8c7b-a09a40e2b6a3
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-netsend.ps1
$url = 'https://github.com/williamnie/netSend/releases/download/v2.0.5.5/NetSend.Setup.2.0.5.exe'
$sha256 = 'FC53A32A2D005DF6B2B182F702E97B6A117FE7E4ED3B4654EED5FD2D0CAE8E4E'
$file = Join-Path $env:TEMP 'NetSend.Setup.2.0.5.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