Intune-Scripts icon indicating copy to clipboard operation
Intune-Scripts copied to clipboard

Force command passthrough needed

Open Sensible-matthew opened this issue 2 years ago • 1 comments

When trying to install Microsoft.VCRedist.2010.x86 along side Microsoft.VCRedist.2010.x64, the winget "existing package" is causing the install to fail. Using "--force" works around this issue but I cant see a way to pass this through to the script from the intune package area. Can this be implemented easily? image

Sensible-matthew avatar Jun 21 '23 03:06 Sensible-matthew

Are you referring to the script "Winget-InstallPackage.ps1"? I provided the parameter '$AdditionalInstallArgs' which will pass in any additional arguments you want to pass to Winget.

djust270 avatar Jun 21 '23 08:06 djust270