![]() ![]() For example ‘ choco install googlechrome /Y’ will not prompt for license agreements. If you use the /Y parameter, the software will install without further prompts. When I come back, I have the majority of applications and tools that I need waiting for me. Whenever I format my machine (or just get a new one in general), I run this script and walk away for a bit. I cobbled together a basic script that installs applications which I commonly used. Where this gets really powerful is when it comes to scripting. If on the other hand, you want to narrow your search, you can use ‘ choco search xyz‘ which will search packages’ descriptions for the term. ![]() If you are a sucker for punishment, you can run ‘ choco list’ – this will return all packages. What if you don’t know the specific name of the package you are looking to install? Then you have a couple of choices. If I want to install it, I can just run ‘ choco install googlechrome‘ and the package will download and install. ![]() The basic premise is that from a command prompt (with admin privileges), you can run ‘ choco install packageName‘ where package name is the name of the application package that you want to install. Once you get that out of the way, you can start to play around with the framework. There are a couple of other installation options available, which can be found on their webpage. You will need local admin rights, but it can all be installed via a single command from the Windows command prompt: -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object ).DownloadString(''))"
0 Comments
Leave a Reply. |