Skip to content

Instantly share code, notes, and snippets.

@nanoDBA
Created November 18, 2021 18:39
Show Gist options
  • Select an option

  • Save nanoDBA/a1cb77c72ab9e80b57f8d1581546d018 to your computer and use it in GitHub Desktop.

Select an option

Save nanoDBA/a1cb77c72ab9e80b57f8d1581546d018 to your computer and use it in GitHub Desktop.
Download and install latest SSMS release
<# download and install latest SSMS release #>
$SSMS_filename = "$env:USERPROFILE\downloads\SSMS-Setup-ENU-" + ([string](Get-Date -format "yyyy-MM-dd")) + ".exe"
Start-BitsTransfer -Source 'https://aka.ms/ssmsfullsetup' -Destination $SSMS_filename
& $SSMS_filename /install /passive
<# Thanks to @sqltoolsguy and his team for creating the aka.ms links!
https://twitter.com/sqltoolsguy/status/1011754064516804608 #>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment