Created
July 25, 2022 21:01
-
-
Save croblesm/695db8d1f4c920795d78322d4f0bf996 to your computer and use it in GitHub Desktop.
DBA-VM-Scripts-v3
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-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 vscode -y | |
choco install azure-data-studio -y | |
choco install sql-server-management-studio -y | |
choco install azure-cli -y | |
choco install az.powershell -y | |
choco install microsoft-edge -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 | |
Install-Module -Name Az.Storage -RequiredVersion 3.7.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 | |
Invoke-WebRequest -Uri https://download.microsoft.com/download/E/4/7/E4771905-1079-445B-8BF9-8A1A075D8A10/IntegrationRuntime_5.19.8205.130.msi -OutFile C:\users\vmadmin\Downloads\IntegrationRuntime_5.19.8205.130.msi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment