SQL-Server-Command-Line-Install-20230210
SQL-Server-Command-Line-Install-20230210
Install SQL Server using a configuration file - SQL Server | Microsoft Learn
How to enable the TCP protocol using SQLPS - SQL Server | Microsoft Learn
Configure the Windows Firewall to allow SQL Server access - SQL Server | Microsoft Learn
Required:
You need a D: drive (SQLDB) and you need an L: drive (LOGS).
F: drive mounted to SQL iso.
Command line:
F:\setup.exe /ConfigurationFile=C:\Users\sysjyb\Desktop\ConfigurationFile.ini /SAPWD="pA5sw0^d"
/USESQLRECOMMENDEDMEMORYLIMITS
Configuration File:
Network Configuration:
Not needed, but SQLPS could be used…
How to enable the TCP protocol using SQLPS - SQL Server | Microsoft Learn
Firewall Configuration:
New-NetFirewallRule -DisplayName "SQLServer default instance" -Direction Inbound -LocalPort 1433 -Protocol TCP -Action
Allow -RemoteAddress 136.165.224.0/20
# New-NetFirewallRule -DisplayName "SQLServer Browser service" -Direction Inbound -LocalPort 1434 -Protocol UDP -Action
Allow