We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I'm updating our VC packages in intune, the previous versions should be automatically updated.
Previous versions are not automatically superseded with "update" mode.
Run this before the import:
$Win32AppPackagePreviousSearch = 'Microsoft Visual C++ Redistributable for Visual Studio 2022 * x64' $Win32AppPackagePreviousVersions = Get-IntuneWin32App -DisplayName $Win32AppPackagePreviousSearch $Win32AppPackagePreviousVersions | fl id, displayName
And this after the import:
# Add supersedence rules for all previous app versions $SupersedenceRules = @() $Win32AppPackagePreviousVersions | ForEach-Object { $SupersedenceRules += New-IntuneWin32AppSupersedence -ID $_.id -SupersedenceType 'Update' } Add-IntuneWin32AppSupersedence -ID $Win32App.id -Supersedence $SupersedenceRules
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
If I'm updating our VC packages in intune, the previous versions should be automatically updated.
Current Behavior
Previous versions are not automatically superseded with "update" mode.
Run this before the import:
And this after the import:
The text was updated successfully, but these errors were encountered: