-
-
Save iambkramer/0c469f1d47e3616139fd99c2078579fc to your computer and use it in GitHub Desktop.
Export installed Chocolatey packages as chocolatey script
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
choco list -lo -r -y | % { $_.Split('|') | select -First 1 } | % { "choco install " + $_ + " -y" } | |
choco list -lo -r -y | % { $_.Split('|') | select -First 1 } | % { "choco install " + $_ + " -y" } | Out-file choco-software.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment