winget install --id=niklasrast.amienrollmentuser -e Copy WinGet command to clipboard
This package provides a tool to check if the executing user is the Intune enrollment user on Intune managed Windows clients.