Polecenia do instalacji programu KillerShell bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez winget
PowerShell
winget install --id SteveTheKiller.KillerShell -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SteveTheKiller.KillerShell -e --silentwinget uninstall --id SteveTheKiller.KillerShell -e --silentWedług instalatora
64-bit · EXE · Wszyscy użytkownicy
Cicha instalacja
KillerShell.exe /silent- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KillerShell
- DisplayVersion
- 1.5.1
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-killershell.ps1
$url = 'https://github.com/SteveTheKiller/KillerShell/releases/download/v1.5.1/KillerShell.exe'
$sha256 = 'F4DB3558659547BB718DA0B4AEE588F047DD83962F07A3F22A80DA7100E3150B'
$file = Join-Path $env:TEMP 'KillerShell.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 '/silent' -Wait