Skip to content

Commit

Permalink
(GH-6) Add -y to the installation of SQL packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mkevenaar committed Jun 13, 2020
1 parent 2e08e77 commit 0213aa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vbr_scripts/vbr_sql_express.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0213aa8

Please sign in to comment.