useful_powershell_functions icon indicating copy to clipboard operation
useful_powershell_functions copied to clipboard

Intune Script Redeploy for MSI packages

Open Mech131 opened this issue 3 years ago • 1 comments

I love your current WIN32 redeploy script. Do you know of an existing script that will do the same thing for MSI packages?

Mech131 avatar Sep 29 '22 16:09 Mech131

Hi, FYI use new&improved version from https://www.powershellgallery.com/packages/IntuneStuff 👍 And now to your question. I am not aware of any such script for MSI packages. But now when I think about it, I suppose it could be done via my functions Get-ClientIntunePolicyResult (to get MSI GUID) + function Uninstall-ApplicationViaUninstallString (from CommonStuff module, to get the uninstall string). Force uninstall of the MSI and then restart IntuneManagementExtension service. I will look into this...

ztrhgf avatar Sep 30 '22 07:09 ztrhgf