Get-AutopilotDiagnostics2

1.1

This script displays diagnostics information from the current PC or a captured set of logs. This includes details about the Autopilot profile settings; policies, apps, certificate profiles, scripts, remediation scripts etc. being tracked via the Enrollment Status Page; and additional information.

This should work with Windows 10 1903 and later (earlier versions have
This script displays diagnostics information from the current PC or a captured set of logs. This includes details about the Autopilot profile settings; policies, apps, certificate profiles, scripts, remediation scripts etc. being tracked via the Enrollment Status Page; and additional information.

This should work with Windows 10 1903 and later (earlier versions have not been validated). This script will not work on ARM64 systems due to registry redirection from the use of x86 PowerShell.exe.

This script is enhanced version of the great, but no longer maintained Get-AutopilotDiagnostics.ps1 so kudos to its author Michael Niehaus.

Show more

Installation Options

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

Install-Script -Name Get-AutopilotDiagnostics2 -RequiredVersion 1.1

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

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

Owners

Package Details

Author(s)

  • Ondrej Sebela

Tags

Windows AutoPilot

Functions

RecordStatus AddDisplay ProcessScriptsLog ProcessRemediationScriptsLog ProcessAppsLog ProcessApps ProcessModernApps ProcessSidecar ProcessPolicies ProcessCerts ProcessNodeCache ProcessEvents GetIntuneObjects

Dependencies

This script has no dependencies.

Release Notes

Version 1.0:  enhanced & fixed version based on original 5.6 version of Get-AutopilotDiagnostics.ps1 from Michael Niehaus)
Version 1.1:  fixed path to log files

FileList

Version History

Version Downloads Last updated
1.3 366 5/10/2024
1.2 104 3/20/2024
1.1 (current version) 132 12/6/2023
1.0 11 12/6/2023