How to get a list of packages from one machine and install in another with Chocolatey?

If you have a look at the help information for the choco install command (you can do this using choco install -h, you will find the following usage: cinst <pkg|packages.config> [<pkg2> <pkgN>] [<options/switches>] As you will see, it is possible to pass a packages.config file, which would contain all the packages that you want to … Read more

How do I downgrade a Chocolatey package?

In most cases you will likely want to perform an uninstall and then an install. > choco uninstall virtualbox > choco install virtualbox –version 4.3.26 In almost all cases, the question is not whether Chocolatey will support it, but whether the underlying software supports a downgrade. With respect to MSIs, they don’t always support downgrades … Read more

How do I update all Chocolatey applications without confirmation?

As Rob points out, -y will skip the prompts for a given command. If you’d rather not be bothered with confirmation prompts at all, you can set the option globally. The following enables allowGlobalConfirmation, which will install or update without confirmation prompts. choco feature enable -n=allowGlobalConfirmation If you ever want to turn the prompts back … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)