
Invoke-WebRequest -Uri "https://download.microsoft.com/download/c/c/9/cc9c6797-383c-4b24-8920-dc057c1de9d3/SQL2022-SSEI-Dev.exe" -OutFile "SQL2022-SSEI-Dev.exe"
.\SQL2022-SSEI-Dev.exe /Action=Download /MediaPath=C:\SQL2022Media /MediaType=CAB /ENU /QUIET
cd C:\SQL2022Media
C:\SQL2022Media\SQLServer2022-DEV-x64-ENU.exe /extract:"c:\SQL2022Media\SQLServer2022-DEV-x64-ENU" /q
Install-Module dbatools -AcceptLicense -Force
Set-DbatoolsConfig -Name Path.SQLServerSetup -Value 'C:\SQL2022Media\SQLServer2022-DEV-x64-ENU'
Install-DbaInstance -Version 2022 -Feature Engine -Restart -Confirm:$false
