Link to home
Start Free TrialLog in
Avatar of *** Hopeleonie ***
*** Hopeleonie ***Flag for Switzerland

asked on

Chocolatey with PowerShell is not working again

Hi

Is somebody still using Chocolatey? After having trouble last time (old link) this script worked for a while:

#Install Chocolatey
Set-ExecutionPolicy unrestricted
Register-PackageSource -Name ChocolateyGet -ProviderName chocolatey -Location http://chocolatey.org/api/v2
Unregister-PackageSource -Name chocolatey
Get-PackageSource
Set-PackageSource -Name ChocolateyGet -ProviderName chocolatey -Location http://chocolatey.org/api/v2 -Trusted
Set-ExecutionPolicy restricted
 
#Find-Package adobe*

#Install SW
Install-Package k-litecodecpackmega, cdburnerxp, adobereader-update, javaruntime, skype, Firefox, GoogleChrome, flashplayerplugin, 7zip.install, vlc -Verbose -Force

Open in new window


Is this the only way https://chocolatey.org/install.ps1 to install Chocolatey now? Can I still use the old commands to install Software?

Install-Package k-litecodecpackmega, cdburnerxp, adobereader-update, javaruntime, skype, Firefox, GoogleChrome, flashplayerplugin, 7zip.install, vlc -Verbose -Force

Open in new window


Many thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of *** Hopeleonie ***

ASKER

Thanks a lot and have a good start in the new week.