Powershell

How to Install Chocolatey using PowerShell

It’s always hard for System Administrators to install and manage software on the remote computer and Chocolatey helps the system administrators to install and manage software on the local computers within the organization or computers in the cloud or the docker container with ease.

What is Chocolatey?

Chocolatey is a software and together with PowerShell its makes the complete software management solution for the system administrators.

Before Chocolatey System Administrators use to search the software and write a PowerShell Script to install and then write another script to verify the installation or uninstall or update the software on remote computers.

Chocolatey and Powershell together can install, update and uninstall software by just typing single line command in the PowerShell console.

System Requirements for Chocolatey

How to Install Chocolatey?

Chocolatey is very easy to install just run the PowerShell as Administrator and paste the following command in the PowerShell console and hit enter.

Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Install-Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex

Once installed enter the following command in the PowerShell console to verify its installation and version.

Currently v0.10.15 is the latest version of Chocolatey you might get the different versions depending on when you read this tutorial.

choco
choco

After the installation next step is to get familiar with Chocolatey commands and manage software on local and remote computers with it and our next article is about this only.

Recommended For You:  How To Remove all Group Membership From Active Directory User Account Except Domain User Group Using PowerShell

It’s also a great idea to check our Home page for new and interesting posts.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Muhammad Faizan

Hi, My name is Muhammad Faizan and i have spent last 15 years working as System Administrator mainly with Microsoft Technologies. I am MCSE, MCTP, MCITP, certified professional. I love scripting and Powershell is the scripting language i am in love with.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button