Sample module to manage AutoPilot devices using the Intune Graph API

Installation Options

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

Install-Module -Name WindowsAutoPilotIntune

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


(c) 2018 Microsoft. All rights reserved.



Get-AuthToken Connect-AutoPilotIntune Get-AutoPilotDevice Remove-AutoPilotDevice Get-AutoPilotImportedDevice Add-AutoPilotImportedDevice Remove-AutoPilotImportedDevice Get-AutoPilotProfile Get-AutoPilotOrganization ConvertTo-AutoPilotConfigurationJSON Import-AutoPilotCSV Invoke-AutopilotSync


This module has no dependencies.

Release Notes

Version 2.4: Modified ConvertTo-AutopilotConfigurationJSON to properly support available AAD user-driven options
Version 2.3: Added new Invoke-AutopilotSync method (equivalent to clicking "Sync" in the Intune console)
Version 2.2: Added pagination support (thanks to Oliver Kieselbach)
Version 2.1: Fixed syntax issue in connect method
Version 2.0: Added cmdlet help (and fixed the mistake of using 1.41 as a verion, since 1.41 is considered > 1.5 because 41 is greater than 5)
Version 1.4: Added functions to delete a device, to list Autopilot profiles, and to convert Autopilot profiles into JSON.
Version 1.3: Fixed module manifest to export functions

Version History

Version Downloads Last updated
2.4 (current version) 1,216 10/10/2018
2.3 29 10/9/2018
2.2 452 8/30/2018
2.1 323 7/7/2018