Skip to content

Instantly share code, notes, and snippets.

@croblesm
Last active July 8, 2022 23:45
Show Gist options
  • Save croblesm/0aed0245abfa483a5e401c8edf4ade79 to your computer and use it in GitHub Desktop.
Save croblesm/0aed0245abfa483a5e401c8edf4ade79 to your computer and use it in GitHub Desktop.
CustomScript-v2
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco feature enable -n allowGlobalConfirmation
choco install git -y
choco install vscode -y
choco install azure-data-studio -y
choco install sql-server-management-studio -y
choco install dbatools -y
choco install azure-cli -y
choco install az.powershell -y
choco install wget -y
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Install-Module -Name SqlServer -Force
Install-Module -Name Az.DataMigration -RequiredVersion 0.11.0 -Force
Import-Module Sqlserver
Import-Module Az.DataMigration
Start-Process "C:\Program Files\Azure Data Studio\bin\azuredatastudio" -ArgumentList @("--install-extension microsoft.sql-migration","--force") -Wait
#"C:\Program Files\Azure Data Studio\bin\azuredatastudio" --install-extension microsoft.sql-migration --force
#wget -P C:\users\vmadmin\Downloads https://download.microsoft.com/download/E/4/7/E4771905-1079-445B-8BF9-8A1A075D8A10/IntegrationRuntime_5.19.8205.130.msi
#wget -P C:\users\vmadmin\Downloads aka.ms/IRDownload
#choco install dotnet-5.0-runtime
#choco install sql-server-2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment