-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathInstallSQLEE.bat
More file actions
7 lines (4 loc) · 804 Bytes
/
InstallSQLEE.bat
File metadata and controls
7 lines (4 loc) · 804 Bytes
1
2
3
4
5
6
7
powershell.exe -command Install-WindowsFeature NET-Framework-Core
powershell.exe -command "dir \\$ADServerNetBIOSName\sqlinstall\*.iso | Mount-DiskImage"
g:\SETUP.EXE /QS /Action=Install /Features=SQLEngine,Replication,FullText,Conn,BOL,ADV_SSMS /INSTANCENAME=MSSQLSERVER /SQLSVCACCOUNT=$DomainNetBIOSName\$SQLServiceAccount /SQLSVCPASSWORD=$SQLServiceAccountPassword /AGTSVCACCOUNT=$DomainNetBIOSName\$SQLServiceAccount /AGTSVCPASSWORD=$SQLServiceAccountPassword /SQLSYSADMINACCOUNTS=$DomainNetBIOSName\$DomainAdminUser /SQLUSERDBDIR="D:\MSSQL\DATA" /SQLUSERDBLOGDIR="E:\MSSQL\LOG" /SQLBACKUPDIR="f:\MSSQL\Backup" /SQLTEMPDBDIR="f:\MSSQL\TempDB" /SQLTEMPDBLOGDIR="f:\MSSQL\TempDB" /IACCEPTSQLSERVERLICENSETERMS
C:\PROGRA~1\MICROS~1\CLIENT~1\ODBC\110\Tools\Binn\SQLCMD.EXE -i c:\cfn\scripts\MaxDOP.sql