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
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I am trying to find in which step(during the Enrollment Status Page) powershell scripts are executed.
I checked also with Get-AutopilotESPStatus.ps1 from https://www.powershellgallery.com/packages/Get-AutopilotESPStatus/4.1 but still not sure.
Powershell script is assigned to device so I assume it will be done in "Device setup" step.
For example, according to this screenshot I assume it is before installing applications?
Thanks
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
Some detailed supplemental info for your reference: https://learn.microsoft.com/en-us/troubleshoot/mem/intune/understand-troubleshoot-esp. This is a great page as it details everything (and more) that you ever wanted to know about the ESP.