Skip to content

Instantly share code, notes, and snippets.

@jwmoss
Created July 16, 2022 14:54
Show Gist options
  • Save jwmoss/4479d23528f24b2c95a5303811e0bee3 to your computer and use it in GitHub Desktop.
Save jwmoss/4479d23528f24b2c95a5303811e0bee3 to your computer and use it in GitHub Desktop.
Install SSMS
# 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