SQL Server Configuration File and InstanceName parameter We have a configuration file at E:\SQL_Server_2016_Install\MyConfigFile.ini that looks like below:
[OPTIONS]
ACTION = &quot;Install&quot;
FEATURES = SQLENGINE
INSTANCENAME = MSSQLSERVER
AGTSVCACCOUNT = &quot;MyDomain\MyAccount&quot;
SQLSVCACCOUNT = &quot;MyDomain\MyAccount&quot;
QS
IACCEPTSQLSERVERLICENSETERMS

SQL Server is then installed using below batch file:
E:\SQL_Server_2016_Install\Setup.exe /ConfigurationFile=MyConfigFile.ini /InstanceName=&quot;TestSQLServer&quot;
Question:
Will /InstanceName=&quot;TestSQLServer&quot; parameter override what we have in the configuration file (/InstanceName = MSSQLSERVER (default instance)), and install SQL Server as a named instance TestSQLServer ?
Will /InstanceName=&quot;TestSQLServer&quot; parameter override what we have in
the configuration file (/InstanceName = MSSQLSERVER (default
instance)), and install SQL Server as a named instance &quot;TestSQLServer&quot;
?

Yes, per the below excerpt from the configuration file documentation :

The configuration file overwrites the defaults in a package

Command-line values overwrite the values in the configuration file