Intune – Deploying Chocolatey Packages

For those that are not aware Chocolatey is a really useful package manager for Windows and contains over 7000 (at time of writing) community maintained packages – https://chocolatey.org/packages

These packages can be deployed relatively easily with Intune via the PowerShell Scripts extension. In the following script simply replace the $ChocoPackages variable with the package id from the Chocolatey website.

Use the following Script Settings:

  • Run this script using the logged on credentials: No
  • Enforce script signature check: No
  • Run script in 64 bit PowerShell Host: No
Then assign to your users or devices.
The example below installs NotePad ++.

About the author