Get-WindowsAutopilotInfoUGDSB
5.0.3
This script uses WMI to retrieve properties needed for a customer to register a device with Windows Autopilot. Note that it is normal for the resulting CSV file to not collect a Windows Product ID (PKID) value since this is not required to register a device. Only the serial number and hardware hash will be populated.
Installation Options
Owners
Copyright
GPL
Package Details
Author(s)
- Jeremy Putnan forked from the version Andrew Taylor had that was forked from the original by the legend who is Michael Niehaus
Tags
Functions
Connect-ToGraph BoolToString Get-AutopilotDevice Set-AutopilotDevice Remove-AutopilotDevice Get-AutopilotImportedDevice Add-AutopilotImportedDevice Remove-AutopilotImportedDevice Get-AutopilotProfile Get-AutopilotProfileAssignedDevice ConvertTo-AutopilotConfigurationJSON Set-AutopilotProfile New-AutopilotProfile Remove-AutopilotProfile Get-AutopilotProfileAssignments Remove-AutopilotProfileAssignments Set-AutopilotProfileAssignedGroup Get-EnrollmentStatusPage Add-EnrollmentStatusPage Set-EnrollmentStatusPage Remove-EnrollmentStatusPage Invoke-AutopilotSync Get-AutopilotSyncInfo Import-AutopilotCSV Get-AutopilotEvent getdevicesandusers getallpagination check-importeddevice import-deviceidentifier
Dependencies
This script has no dependencies.
Release Notes
v1.0.1 - Added support to update group tag on existing devices
v1.0.2 - Updated logic used to update group tag on existing devices [lines 1982-1990, 2058-2060]
v1.0.3 - Bug Fix
v1.0.4 - Suppressed error when importing modules if in use
v2.0.0 - Added Intune Wipe and Sysprep Parameters
v3.0.0 - Support added for v2 Graph SDK
v3.0.3 - Authentication fixes
v3.0.4 - Wipe fix
v3.0.5 - Added support for pre-provisioning
v4.0.0 - Added support to delete existing devices
v4.0.1 - Import Module fix
v4.0.2 - Code Signed!!
v4.0.3 - Timestamp fix
v4.0.4 - Updated devices grab
v4.0.5 - Added newdevice parameter for quicker imports
v4.0.6 - Region fix
v4.0.7 - Added ChangePK switch
v4.0.8 - Added logic around the sync command & Added AutoIt script for pre-prov
v4.0.9 - Extended sync timeout
v4.0.10 - Added array for group
v4.0.11 - Added cert based MsGraph connection
v5.0.0 - Added support for device identifiers
v5.0.2 - Removed dots and commas from make and model
v5.0.3 - Added Support for Device Login Code
FileList
- Get-WindowsAutopilotInfoUGDSB.nuspec
- Get-WindowsAutopilotInfoUGDSB.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
5.0.3 (current version) | 9 | 1/21/2025 |