Skip to content

Instantly share code, notes, and snippets.

@lennybacon
Created February 6, 2017 14:41
Show Gist options
  • Save lennybacon/d8cf4b25209f76842e0a4ad680b8fed9 to your computer and use it in GitHub Desktop.
Save lennybacon/d8cf4b25209f76842e0a4ad680b8fed9 to your computer and use it in GitHub Desktop.
Install Microsoft SQL Server 2016 Management Studio unattended
$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