Setting up and managing device configurations using Intune
The answer is here:
PowerShell scripts are executed before Win32 apps run. In other words, PowerShell scripts execute first. Then, Win32 apps execute.
https://learn.microsoft.com/en-us/mem/intune/apps/intune-management-extension