Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Chocolatey

Posted on October 20, 2015August 30, 2016 By David Kittell

What is Chocolatey

Chocolatey NuGet is a Machine Package Manager, somewhat like apt-get (UNIX), but built with Windows in mind.

How to Install

  1. Open PowerShell ISE as admin (typical 64-bit path %windir%\sysWOW64\WindowsPowerShell\v1.0\PowerShell_ISE.exe)
  2. Set Execution Policy Permissions
  3. Run the installation script from https://chocolatey.org/install.ps1
get-packageprovider -name chocolatey
Stop-Process -processName: powershell* -force # This will restart PowerShell to make this work.
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
taskkill /im powershell* /f
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
Stop-Process -processName: powershell* -force # This will restart PowerShell to make this work.
Originally Posted on October 20, 2015
Last Updated on August 30, 2016
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Chocolatey Code PowerShell Windows Batch

Post navigation

Previous post
Next post

Related Posts

Uptime Formated

Posted on May 9, 2017

If you simply want uptime formatted this small script will help. uptime | awk -F'( |,|:)+’ ‘{print $6,$7",",$8,"hours,",$9,"minutes."}’ Uptime by itself will display similar to: 20:25:48 up 3 days, 8:14, 1 user, load average: 2.07, 2.17, 2.35 Formatted using the code above will display similar to: 3 days, 8 hours,…

Read More

Unix – Add User Group To Sudousers

Posted on August 5, 2016

usergroup="developers" su # type in sudo password chmod -v +w /etc/sudoers && echo -e "%$usergroup ALL=(ALL) ALL" >> /etc/sudoers && chmod -v -w /etc/sudoers All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it…

Read More

Delphix Web API – PowerShell Run Masking Job

Posted on April 19, 2018

Take note of the Global Variables $BaseURL and $LogFilePath, make sure you set them to your values. The idea for this script is to run this as part of a database restore/migration. Drop all access to the database to do the restore/migration, then run the script for Delphix, and then…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes