forked from slalom/dataops-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
choco_min.bat
51 lines (43 loc) · 1.56 KB
/
choco_min.bat
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
echo "Checking if script already has admin rights..."
NET SESSION
IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE
GOTO ADMIN
:ELEVATE
echo "Attempting to obtain admin rights..."
CD /d %~dp0
MSHTA "javascript: var shell = new ActiveXObject('shell.application'); shell.ShellExecute('%~nx0', '', '', 'runas', 1);close();"
EXIT
:ADMIN
echo "Continuing script (with admin rights)..."
echo on
REM NOTE: A restart may be required at this point. Attempting to continue anyway without restarting...
REM If you experience problems, simply restart your machine and then rerun this script.
REM Custom Git Install
choco install --no-progress -y ^
git.install --params "/GitOnlyOnPath /SChannel /NoAutoCrlf /WindowsTerminal"
REM Software Installs (DevOps-Required Tools)
choco install --no-progress -y ^
choco-protocol-support ^
chocolateygui ^
python3 ^
sudo
REM Install script complete. If this is your first time installing, a manual restart is required at this point.
REM If you experience any problems after restarting, you can always rerun this script.
REM Install optional components:
REM choco://7zip
REM choco://awscli
REM choco://azure-cli
REM choco://dbeaver
REM choco://docker-desktop
REM choco://filezilla
REM choco://github-desktop
REM choco://microsoft-teams.install
REM choco://microsoft-windows-terminal # Requires latest windows updates
REM choco://microsoftazurestorageexplorer
REM choco://powerbi
REM choco://r.project
REM choco://terraform
REM choco://vscode
REM choco://wsl
REM choco://wsl-ubuntu-1804
pause