![]() How do I conditionally run the install command based on that result?.How do I detect if Chocolatey is already installed?.Then it should loop through a list of package names and silently install them. The script should check if Chocolatey is installed and if not, run the install script. (I think the -y makes them run without a prompt.) Then I ran a bunch of choco installs like this: choco install googlechrome -yĬhoco install sql-server-management-studio -y I previously ran this (it is from ) to install Chocolatey directly from PowerShell: Set-ExecutionPolicy Bypass -Scope Process -Force iex ((New-Object ).DownloadString('')) The first thing I am trying to do is install as many of the programs that I always like to have available as possible. My goal is to create a single script that I can download and run on a fresh Windows build to set up the system as much as possible.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |