Windows Autopilot

Updated troubleshooting script posted

After a productive Friday night/Saturday morning, I’ve made a number of script updates.  Let’s start off with the most interesting of them.  The Get-AutopilotESPStatus script has been updated to version 3.6 to add one significant piece of new functionality:  It can now dump a list of all the MDM policies that have been received by the device.  To use this, include the -ShowPolicies switch.  The output will look something like this, with the left column showing the OMA-URI and the right one showing the value:

image

The CSPVersions response is very long, as are some other properties, so I configured the list to wrap the values within the columns.  Without that wrapping, you can see more details:

image

It’s not always pretty (PowerShell really doesn’t like displaying binary data like encoded certificates), but at least you can scan the list, in chronological order, to see what policies were pushed to the device. 

That new switch is off by default, as it’s more of an advanced operation.

Categories: Windows Autopilot

3 replies »

  1. Awesome work. Will help us a lot in our troubleshooting. Any knowledge when (if?) we will see any built in functionality for this just in the old “gpresult” days or will it continue to be scripts developed by you and the community? 🙂

    Like

  2. Great work Michael. I’ve already used this script a lot to troubleshoot my builds 🙂

    Like