Created
July 16, 2022 14:54
-
-
Save jwmoss/4479d23528f24b2c95a5303811e0bee3 to your computer and use it in GitHub Desktop.
Install SSMS
This file contains hidden or 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
# Set file and folder path for SSMS installer .exe | |
$folderpath=$ENV:TEMP | |
$filepath="$folderpath\SSMS-Setup-ENU.exe" | |
$URL = "https://aka.ms/ssmsfullsetup" | |
$clnt = New-Object System.Net.WebClient | |
$clnt.DownloadFile($url,$filepath) | |
Start-Process -FilePath $filepath -ArgumentList @( | |
"/Install", | |
"/Quiet", | |
"/NoRestart" | |
) -Wait -NoNewWindow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment