mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Removed /SQLSERVERUPDATE
This commit is contained in:
+5
-6
@@ -20,10 +20,7 @@ param (
|
||||
[Parameter (Mandatory=$true)]
|
||||
[string]$SqlServerProductKey,
|
||||
[Parameter (Mandatory=$true)]
|
||||
[string]$isoURL,
|
||||
[Parameter (Mandatory=$false)]
|
||||
[string]$SqlServerCU = "latest"
|
||||
|
||||
[string]$isoURL
|
||||
)
|
||||
|
||||
# This function checks if the specified module is imported into the session and if not installes and/or imports it
|
||||
@@ -149,7 +146,6 @@ try {
|
||||
$argumentList = "
|
||||
/q
|
||||
/ACTION=Install
|
||||
/INSTANCENAME='$($SqlServerInstanceName)'
|
||||
/FEATURES=SQL
|
||||
/INSTANCEDIR=C:\SQL
|
||||
/SQLSYSADMINACCOUNTS='$($SqlServerAdminAccounts)'
|
||||
@@ -159,9 +155,12 @@ try {
|
||||
/AGTSVCPASSWORD='$($SqlServerSvcPassword)'
|
||||
/IACCEPTSQLSERVERLICENSETERMS
|
||||
/PID='$($SqlServerProductKey)'
|
||||
/SQLSERVERUPDATE='$($SqlServerCU)'
|
||||
/Edition='$($SqlServerEdition)'
|
||||
"
|
||||
if ($SqlServerInstanceName) {
|
||||
$argumentList += "/INSTANCENAME='$($SqlServerInstanceName)'"
|
||||
}
|
||||
|
||||
Start-Process -FilePath $setupPath -ArgumentList $argumentList
|
||||
|
||||
# Step 7: Install SQL Arc extension with LT=PAYG
|
||||
|
||||
Reference in New Issue
Block a user