1. Create a Security Group for AutoPilot Devices. 2. Deployment profile 3. Generate serial number form computer using powershell script. 4. Windows autopilot --> Devices --> Import and upload the *.CSV file. 5. We will check the Dynnamic device Group --> Enable the Device. device.devicePhysicalIDs -any _ -contains "[ZTDId]" Install-Script -Name Get-WindowsAutoPilotInfo Set-ExecutionPolicy RemoteSigned Get-WindowsAutopilotInfo.ps1 -OutputFile C:\Computer.csv # Create the group in the same OU New-ADGroup -Name "EUC-Support" ` -SamAccountName "EUC-Support" ` -GroupCategory Security ` -GroupScope Global ` -Path "OU=AD_PowerShell,DC=Xceed,DC=com" Add-ADGroupMember -Identity "EUC-Support" -Members "HS" # Create the new OU New-ADOrganizationalUnit -Name "EUC-Admin" -Path "DC=Xceed,DC=com" # Move the EUC-Support group to the new OU Get-ADGroup -Identity "EUC-Support" | Move-ADObject -TargetPath "OU=EUC-Admin,DC=Xceed,DC=com" Import-Module Activedirectory New-ADUser -Name "John Doe" -GivenName "John" -Surname "Doe" -SamAccountName "jdoe" -UserPrincipalName "jdoe@yourdomain.com" -AccountPassword (ConvertTo-SecureString "P@ssw0rd123" -AsPlainText -Force) -Path "OU=Users,DC=yourdomain,DC=com" -Enabled $true