From 0213aa809c72eb84db591240963e5cc376853fec Mon Sep 17 00:00:00 2001 From: Maurice Kevenaar Date: Sat, 13 Jun 2020 18:54:21 +0200 Subject: [PATCH] (GH-6) Add -y to the installation of SQL packages --- vbr_scripts/vbr_sql_express.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vbr_scripts/vbr_sql_express.ps1 b/vbr_scripts/vbr_sql_express.ps1 index 1e6b404..f8f9d9a 100644 --- a/vbr_scripts/vbr_sql_express.ps1 +++ b/vbr_scripts/vbr_sql_express.ps1 @@ -21,10 +21,10 @@ Invoke-Expression "${commonDir}\setup_chocolatey.ps1" Invoke-Expression "${scriptsDir}\common_packages.ps1" Write-Output "Installing SQL Server Express" -Invoke-CommandAs -ScriptBlock { choco upgrade sql-server-express $common } -ComputerName $env:COMPUTERNAME -AsInteractive $env:USERNAME +Invoke-CommandAs -ScriptBlock { choco upgrade sql-server-express -y $common } -ComputerName $env:COMPUTERNAME -AsInteractive $env:USERNAME # Installing SSMS, as I believe this should be part of the installation. -Invoke-CommandAs -ScriptBlock { choco upgrade ssms $common } -ComputerName $env:COMPUTERNAME -AsInteractive $env:USERNAME +Invoke-CommandAs -ScriptBlock { choco upgrade ssms -y $common } -ComputerName $env:COMPUTERNAME -AsInteractive $env:USERNAME if (Test-PendingReboot) {