I have the current script which installs chocolatey on a new computer and installs all my main applications and confirms theyre up to date:
#Requires -RunAsAdministrator
# Install chocolatey packet manager
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString( https://chocolatey.org/install.ps1 ))
# Install needed packages (these can be changed to suit your needs)
choco install brave discord microsoft-teams microsoft-office-deployment vscode visualstudio2019community sql-server-management-studio tableau-desktop git -y
# Confirm all software is up to date
choco update all -y
I was wondering if there is a way i can at the end of this script be able to install all my vscode extensions as well onto a new pc (windows).