Run a command to download the installation files to a specific folder. Open as an Administrator. Navigate to your download folder. Run one of the following commands based on your needs:
The offline installer (often called a layout ) is not a single .exe file, but a local folder containing: visual studio community edition offline installer
foreach ($workload in $Workloads) $Arguments += " --add $workload" Run a command to download the installation files