InitalCommit
This commit is contained in:
21
InstallTools/Install-Chocolatey.cmd
Normal file
21
InstallTools/Install-Chocolatey.cmd
Normal file
@@ -0,0 +1,21 @@
|
||||
@echo off
|
||||
|
||||
REM #############################################################
|
||||
REM # @description: #
|
||||
REM # Downloads and install Chocolatry #
|
||||
REM # This tools is used for installing and managing software #
|
||||
REM # #
|
||||
REM # @project: IMGSystTools #
|
||||
REM # @author: Bram Prieshof #
|
||||
REM #############################################################
|
||||
|
||||
NET SESSION >nul 2>&1
|
||||
IF %ERRORLEVEL% EQU 0 (
|
||||
PowerShell.exe "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'))"
|
||||
ECHO Chocolatey installed
|
||||
PAUSE
|
||||
) ELSE (
|
||||
ECHO Please run this script as administrator
|
||||
PAUSE
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user