choco installation 1

choco installation

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command " [System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

Here is what the above code is Doing:
1. It’s creating a new file called install_chocolatey.bat
2. It’s writing the code to the file
3. It’s closing the file
4. It’s running the file

Similar Posts