Created
February 6, 2017 14:41
-
-
Save lennybacon/d8cf4b25209f76842e0a4ad680b8fed9 to your computer and use it in GitHub Desktop.
Install Microsoft SQL Server 2016 Management Studio unattended
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$setupPath = [System.IO.Path]::Combine($installLocation, "SQL2016", "SSMS-Setup-ENU.exe"); | |
$argumentList = ` | |
"/install " +` | |
"/quiet " +` | |
"/norestart" | |
$process = Start-Process $setupPath -ArgumentList $argumentList -PassThru -NoNewWindow -Wait -RedirectStandardOutput $pwd\ssms_stdout.txt -RedirectStandardError $pwd\ssms_stderr.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment