To my knowledge, you can get the deployment states for PowerShell and Win32 app from the Intune portal. With the state, you can know if the script or app have been deployed successfully.
In addition, you also can check the IME log file, which is located at %ProgramData%\Microsoft\IntuneManagementExtension\Logs on the client device. From the log file, you can retrieve the exit code or message for the script and app.
If an Answer is helpful, please click "Accept Answer" and upvote it.
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.