application-workloads/jenkins/multiple-windows-vms-with-common-script/container-lab.ps1 (7 lines of code) (raw):

## You need to restart vm after script finishes! Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -NoRestart Enable-WindowsOptionalFeature -Online -FeatureName Containers -All -NoRestart ## Install Chocolatey using PowerShell script Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) choco install docker-desktop -y choco install git vscode -y