Need to delete specific 200 devices from Intune


Hi Experts ,

I need to delete specific windows devices from Intune , Can you please help me with the PowerShell script to perform this activity.

Example : We will give the device name in the csv and then script will help us to delete the device.



solved 0
Ketan Kamble 4 weeks 1 Answer 42 views Beginner 0

Answer ( 1 )

  1. Issue Solved : Used script from link :

    — Ran the script with below modification m given list of devices with below script :
    $computer_list = Import-Csv “C:tempScript_test.csv”
    foreach ($computer in $computer_list)
    .Delete-AutopilotedDeviceRecords.ps1 -ComputerName $($computer.ComputerName) -Intune

    Best answer

Leave an answer

Sorry, you do not have a permission to answer to this question .