Autopilot ESP steps - powershell script

Djordje Novakovic 311 Reputation points
2021-11-10T10:44:26.997+00:00

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?

148166-esp.jpg

Thanks

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,920 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,193 questions
0 comments No comments
{count} votes

Accepted answer
  1. Djordje Novakovic 311 Reputation points
    2021-11-10T15:35:31.427+00:00

    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

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Jason Sandys 31,306 Reputation points Microsoft Employee
    2021-11-10T16:24:54.133+00:00

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.