This script uses WMI to retrieve properties needed by the Microsoft Store for Business to support Windows AutoPilot deployment.

Installation Options

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

Install-Script -Name Get-WindowsAutoPilotInfo -RequiredVersion 1.5

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy 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


Michael Niehaus



Windows AutoPilot


This script has no dependencies.

Release Notes

Version 1.0:  Original published version.
Version 1.1:  Added -Append switch.
Version 1.2:  Added -Credential switch.
Version 1.3:  Added -Partner switch.
Version 1.4:  Switched from Get-WMIObject to Get-CimInstance.
Version 1.5:  Added -GroupTag parameter.

Version History

Version Downloads Last updated
1.6 131,698 6/26/2019
1.5 (current version) 24,203 5/30/2019