Last active
September 11, 2017 15:57
-
-
Save AnthonyMastrean/5387874 to your computer and use it in GitHub Desktop.
Export installed Chocolatey packages to a packages.config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$packages = Get-ChildItem (Join-Path $ENV:chocolateyinstall 'lib') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I know this is a very old Gist, but for anyone searching all this command does is output the actual DIR listing to the variable and will not generate the package.