Chocolatey
From Hack Sphere Labs Wiki
Revision as of 05:25, 18 August 2015 by Webdawg (talk | contribs) (Created page with "=Install= Administrative cmd.exe @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')...")
Contents
Install
Administrative cmd.exe
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
Creating Repos
Cifs/Samba
You just have to put .nupkg files in the dir, Chocolatey will parse through them.
Adding Sources
choco source add -name host -source \\host\path\choco\
General Commands
choco upgrade
Allow Global Confirmation
choco feature enable -n allowGlobalConfirmation choco feature disable -n allowGlobalConfirmation
Upgrade Chocolatey
choco upgrade chocolatey