-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappinstall.ps1
28 lines (19 loc) · 866 Bytes
/
appinstall.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<#Author : Ayoub Malkaoui
# Usage : Install VSCode and Notepad++ using Chocolatey
#>
###################################################
# Install VSCode and Notepad++ #
###################################################
# Install Chocolatey if not already installed
if (!(Test-Path "C:\ProgramData\chocolatey\choco.exe")) {
Write-Host "Installing Chocolatey..."
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
}
# Install Visual Studio Code using Chocolatey
Write-Host "Installing Visual Studio Code..."
choco install -y vscode
Write-Host "Visual Studio Code installation complete."
# Install Notepad++ using Chocolatey
Write-Host "Installing Notepad++..."
choco install -y notepadplusplus
Write-Host "Notepad++ installation complete."