get-windowsautopilotinfocommunity

5.0.1

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

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

Install-Script -Name get-windowsautopilotinfocommunity -RequiredVersion 5.0.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

Copyright

GPL

Package Details

Author(s)

  • AndrewTaylor forked from the original by the legend who is Michael Niehaus

Tags

intune endpoint MEM autopilot

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

FileList

Version History

Version Downloads Last updated
5.0.2 31,635 6/6/2024
5.0.1 (current version) 138 6/5/2024
5.0.0 65 6/5/2024
4.0.11 8,774 3/19/2024
4.0.10 212 3/17/2024
4.0.9 1,319 2/28/2024
4.0.8 202 2/26/2024
4.0.7 62 2/23/2024
4.0.6 3,539 12/27/2023
4.0.5 669 12/11/2023
4.0.4 19 12/11/2023
4.0.3 1,407 11/15/2023
4.0.2 16 11/15/2023
4.0.1 287 11/9/2023
3.0.5 5,855 7/23/2023
3.0.4 738 7/13/2023
3.0.3 1,188 7/6/2023
3.0.2 52 7/6/2023
3.0.1 27 7/6/2023
3.0.0 75 7/6/2023
2.0.0 139 7/1/2023
1.0.4 206 6/20/2023
1.0.3 43 6/19/2023
1.0.1 21 6/16/2023
1.0.0 412 6/14/2023
Show more