cChoco icon indicating copy to clipboard operation
cChoco copied to clipboard

cChocoPackageInstaller should pass on Source parameter

Open trueqbit opened this issue 4 years ago • 1 comments

choco install features the alternative sources windowsfeatures and webpi.

cChocoPackageInstaller { Ensure = 'Present'; Source = 'windowsfeatures' } works perfectly but cChocoPackageInstaller { Ensure = 'Absent'; Source = 'windowsfeatures' } does not, because the UninstallPackage function doesn't pass on the source parameter.

trueqbit avatar Apr 22 '20 09:04 trueqbit

If you are using DSC you can use other resources to manage Windows Features. But I agree that we may want to start pushing that through.

pauby avatar May 10 '20 17:05 pauby