powershell to install sql server 2012
The Setup supports the following installation options while installing SQL Server 2012 on a Server Core operating system:
Installation from Command LineTo install specific features using the command prompt installation option, use the /FEATURES parameter and specify the parent feature or feature values. The following is an example of using the parameters from the command line:
Installation using Configuration FileSetup supports the use of the configuration file only through the command prompt. The configuration file is a text file with the basic structure of a parameter (name/value pair) and a descriptive comment. The configuration file specified at the command prompt should have an .INI file name extension. See the following examples of ConfigurationFile.INI:Installing Database EngineThe following example shows how to install a new stand-alone instance that includes the SQL Server Database Engine:Installing connectivity componentsThe following example shows how to install the connectivity components:Installing all supported featuresThe following example shows how to install all supported features of SQL Server 2012 on Server Core:The following table shows how you can launch the Setup using a configuration file.Installation optionExamplesConfiguration fileFollowing are some examples of how to use the configuration file:
To specify the configuration file at the command prompt:
DefaultSetup.iniIf you have the DefaultSetup.ini file in the x86 and x64 folders at the root level of the SQL Server source media, open the DefaultSetup.ini file, and then add the Featuresparameter to the file.If the DefaultSetup.ini file does not exist, you can create it and copy it to the x86 and x64 folders at the root level of the SQL Server source media.
To specify passwords at the command prompt instead of in the configuration file:
(Visited 4 times, 1 visits today)