@Swahela Mulla, Thanks for posting in Q&A. Based on my researching, I didn't find any articles describe in programmatically managing patches with Intune through PowerShell, Meanwhile, PowerShell script is only for windows not for other platforms.
https://learn.microsoft.com/en-us/mem/intune/apps/intune-management-extension
However, you can use Intune to deploy apps used by your organization, and some apps are automatically updated when there's an app update available.
https://learn.microsoft.com/en-us/mem/intune/apps/apps-add#app-types-in-microsoft-intune
If there's anything unclear, feel free to let us know.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.