Ordres per instal·lar Azure Data Studio sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id Microsoft.Azure.DataStudio -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.Azure.DataStudio -e --silentwinget uninstall --id Microsoft.Azure.DataStudio -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
azuredatastudio-windows-user-setup-1.52.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
azuredatastudio-windows-user-setup-1.52.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\azure-data-studio"64 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
azuredatastudio-windows-setup-1.52.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
azuredatastudio-windows-setup-1.52.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\azure-data-studio"ARM64 · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
azuredatastudio-windows-arm64-user-setup-1.52.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
azuredatastudio-windows-arm64-user-setup-1.52.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\azure-data-studio"ARM64 · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
azuredatastudio-windows-arm64-setup-1.52.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
azuredatastudio-windows-arm64-setup-1.52.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\azure-data-studio"PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-azure-data-studio.ps1
$url = 'https://download.microsoft.com/download/6b2bfeac-9c1b-4182-9a2f-ce86ff8cc371/azuredatastudio-windows-user-setup-1.52.0.exe'
$sha256 = 'A02BF0950D03DB1F11C3A46189302C79046F850F51D859239D63F82170D25D2D'
$file = Join-Path $env:TEMP 'azuredatastudio-windows-user-setup-1.52.0.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-azure-data-studio.ps1
$url = 'https://download.microsoft.com/download/6b2bfeac-9c1b-4182-9a2f-ce86ff8cc371/azuredatastudio-windows-setup-1.52.0.exe'
$sha256 = '47FE18009866CDFF62DB64A4A3E2F8F072826A45B23E24006CEB6BDE7EEC907E'
$file = Join-Path $env:TEMP 'azuredatastudio-windows-setup-1.52.0.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-azure-data-studio.ps1
$url = 'https://download.microsoft.com/download/6b2bfeac-9c1b-4182-9a2f-ce86ff8cc371/azuredatastudio-windows-arm64-user-setup-1.52.0.exe'
$sha256 = '992CBE95A8E20F8AF94D8354ECBF18BFAB4EBDA4C5F7192E9B3D1C14350A0057'
$file = Join-Path $env:TEMP 'azuredatastudio-windows-arm64-user-setup-1.52.0.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-azure-data-studio.ps1
$url = 'https://download.microsoft.com/download/6b2bfeac-9c1b-4182-9a2f-ce86ff8cc371/azuredatastudio-windows-arm64-setup-1.52.0.exe'
$sha256 = 'CACBF945F043A0706FEFEB0361AF7EE9EACB08B56B2FFDE114EAD59C6481FB3B'
$file = Join-Path $env:TEMP 'azuredatastudio-windows-arm64-setup-1.52.0.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait