Retrieves the User Device Registration events from the device and either save them as a log file to C:\ProgramData\Microsoft\IntuneManagementExtension\Logs (which will be included with the logs files collected with Collect Diagnostics from Endpoint), or specify a file name and path. Be sure to set/update the file extension to xlsx before opening the resulting file.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Get-UserDeviceRegistrationEvents -RequiredVersion 1.1

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Iain Borghoff

Package Details



Windows Autopilot


This script has no dependencies.

Release Notes

Version 1.0: Initial publish.
Version 1.1: Fixed script exiting after installing required module.


Version History

Version Downloads Last updated
1.4 20 6/21/2022
1.3 7 6/21/2022
1.2 7 6/21/2022
1.1 (current version) 7 6/21/2022
1.0 8 6/21/2022