Commando’s om Unity DevOps Version Control zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met winget
winget install --id Codice.PlasticSCM.Enterprise -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Codice.PlasticSCM.Enterprise -e --silentwinget uninstall --id Codice.PlasticSCM.Enterprise -e --silentPer installer
32-bits · EXE · Alle gebruikers
unity-vcs-on-prem-full-11.0.16.8906-win.exe --mode unattended --unattendedmodeui nonePowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
$url = 'https://d26z97tczqnlef.cloudfront.net/releases/11.0.16.8906/plasticscm/windows/unity-vcs-on-prem-full-11.0.16.8906-win.exe'
$sha256 = '1EFF49A72ADCDD9B1CCAF2D24A5E7B4E280B6362249CB1B897411EB77704D509'
$file = Join-Path $env:TEMP 'unity-vcs-on-prem-full-11.0.16.8906-win.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 '--mode unattended --unattendedmodeui none' -Wait