Last active
June 14, 2024 15:03
-
-
Save da9l/ed4244eb5483ae9159e7a69a74c983f8 to your computer and use it in GitHub Desktop.
Create powershell script containing all chocolatey packages on your local machine.
This file contains 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
Function Create-InstallMyTools.ps1 { | |
choco list | % {if($_ -match "(.+) (.+)") {"choco install $($matches[1])"}} > Install-MyTools.ps1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment