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)]
|
[Parameter (Mandatory=$true)]
|
||||||
[string]$SqlServerAdminPassword,
|
[string]$SqlServerAdminPassword,
|
||||||
[Parameter (Mandatory=$true)]
|
[Parameter (Mandatory=$true)]
|
||||||
|
[string]$SqlServerSvcAccount,
|
||||||
|
[Parameter (Mandatory=$true)]
|
||||||
|
[string]$SqlServerSvcPassword,
|
||||||
|
[Parameter (Mandatory=$true)]
|
||||||
[string]$SqlServerVersion,
|
[string]$SqlServerVersion,
|
||||||
[Parameter (Mandatory=$true)]
|
[Parameter (Mandatory=$true)]
|
||||||
[string]$SqlServerEdition,
|
[string]$SqlServerEdition,
|
||||||
@@ -151,10 +155,11 @@ try {
|
|||||||
/FEATURES=SQL
|
/FEATURES=SQL
|
||||||
/INSTANCEDIR=C:\SQL
|
/INSTANCEDIR=C:\SQL
|
||||||
/SQLSYSADMINACCOUNTS='$($SqlServerAdminAccount)'
|
/SQLSYSADMINACCOUNTS='$($SqlServerAdminAccount)'
|
||||||
/SQLSVCACCOUNT='$($SqlServerAdminAccount)'
|
/SAPWD='$($SqlServerAdminPassword)'
|
||||||
/SQLSVCPASSWORD='$($SqlServerAdminPassword)'
|
/SQLSVCACCOUNT='$($SqlServerSvcAccount)'
|
||||||
/AGTSVCACCOUNT='$($SqlServerAdminAccount)'
|
/SQLSVCPASSWORD='$($SqlServerSvcPassword)'
|
||||||
/AGTSVCPASSWORD='$($SqlServerAdminPassword)'
|
/AGTSVCACCOUNT='$($SqlServerSvcAccount)'
|
||||||
|
/AGTSVCPASSWORD='$($SqlServerSvcPassword)'
|
||||||
/IACCEPTSQLSERVERLICENSETERMS
|
/IACCEPTSQLSERVERLICENSETERMS
|
||||||
/PID='$($SqlServerProductKey)'
|
/PID='$($SqlServerProductKey)'
|
||||||
/SQLSERVERUPDATE='$($SqlServerCU)'
|
/SQLSERVERUPDATE='$($SqlServerCU)'
|
||||||
|
|||||||
Reference in New Issue
Block a user