mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
added svc account
This commit is contained in:
+9
-4
@@ -12,6 +12,10 @@ param (
|
||||
[Parameter (Mandatory=$true)]
|
||||
[string]$SqlServerAdminPassword,
|
||||
[Parameter (Mandatory=$true)]
|
||||
[string]$SqlServerSvcAccount,
|
||||
[Parameter (Mandatory=$true)]
|
||||
[string]$SqlServerSvcPassword,
|
||||
[Parameter (Mandatory=$true)]
|
||||
[string]$SqlServerVersion,
|
||||
[Parameter (Mandatory=$true)]
|
||||
[string]$SqlServerEdition,
|
||||
@@ -151,10 +155,11 @@ try {
|
||||
/FEATURES=SQL
|
||||
/INSTANCEDIR=C:\SQL
|
||||
/SQLSYSADMINACCOUNTS='$($SqlServerAdminAccount)'
|
||||
/SQLSVCACCOUNT='$($SqlServerAdminAccount)'
|
||||
/SQLSVCPASSWORD='$($SqlServerAdminPassword)'
|
||||
/AGTSVCACCOUNT='$($SqlServerAdminAccount)'
|
||||
/AGTSVCPASSWORD='$($SqlServerAdminPassword)'
|
||||
/SAPWD='$($SqlServerAdminPassword)'
|
||||
/SQLSVCACCOUNT='$($SqlServerSvcAccount)'
|
||||
/SQLSVCPASSWORD='$($SqlServerSvcPassword)'
|
||||
/AGTSVCACCOUNT='$($SqlServerSvcAccount)'
|
||||
/AGTSVCPASSWORD='$($SqlServerSvcPassword)'
|
||||
/IACCEPTSQLSERVERLICENSETERMS
|
||||
/PID='$($SqlServerProductKey)'
|
||||
/SQLSERVERUPDATE='$($SqlServerCU)'
|
||||
|
||||
Reference in New Issue
Block a user