Everything you need to know
PowerShell snippet with commonly used Windows Autopilot commands for System Admins, along with descriptions.
🔧 Device Preparation & Deployment
- Get-AutopilotProfile
Retrieves Autopilot profiles from Intune. - Get-WindowsAutopilotInfo -OutputFile AutoPilotHWID.csv
Collects hardware hash for Autopilot registration. - Register-AutopilotDevice
Registers a device with Windows Autopilot using the hardware hash. - Import-AutopilotDevice
Imports a device into Autopilot using a CSV file.
🖥️ Device Management
- Get-AutopilotDevice
Lists all devices registered with Autopilot. - Remove-AutopilotDevice
Removes a device from Autopilot. - Set-AutopilotDevice
Updates device properties like group tag or assigned profile
🔄 Profile Management
- New-AutopilotProfile
Creates a new Autopilot deployment profile. - Set-AutopilotProfile
Modifies an existing profile. - Remove-AutopilotProfile
Deletes a profile.