cChoco
cChoco copied to clipboard
cChocoPackageInstaller should pass on Source parameter
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.
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.